Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fbd902 commit e5e39bcCopy full SHA for e5e39bc
1 file changed
lib/core/settings.py
@@ -53,7 +53,7 @@
53
MAX_CONNECTIONS_REGEX = r"max.+connections"
54
55
# Regular expression used for extracting results from google search
56
-GOOGLE_REGEX = r"url\?\w+=(http[^>]+)&(sa=U|rct=j)"
+GOOGLE_REGEX = r"url\?\w+=((?![^>]+webcache\.googleusercontent\.com)http[^>]+)&(sa=U|rct=j)"
57
58
# Regular expression used for extracting content from "textual" tags
59
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