Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e5e39bc

Browse files
committed
Fix for an Issue #410
1 parent 6fbd902 commit e5e39bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
MAX_CONNECTIONS_REGEX = r"max.+connections"
5454

5555
# Regular expression used for extracting results from google search
56-
GOOGLE_REGEX = r"url\?\w+=(http[^>]+)&(sa=U|rct=j)"
56+
GOOGLE_REGEX = r"url\?\w+=((?![^>]+webcache\.googleusercontent\.com)http[^>]+)&(sa=U|rct=j)"
5757

5858
# Regular expression used for extracting content from "textual" tags
5959
TEXT_TAG_REGEX = r"(?si)<(abbr|acronym|b|blockquote|br|center|cite|code|dt|em|font|h\d|i|li|p|pre|q|strong|sub|sup|td|th|title|tt|u)(?!\w).*?>(?P<result>[^<]+)"

0 commit comments

Comments
 (0)