Update search.py

This commit is contained in:
e2002e 2021-04-25 20:51:56 +00:00 committed by GitHub
parent d7acc30580
commit 2975c65f2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ def _search(dork):
gpage = conf.googlePage if conf.googlePage > 1 else 1
logger.info("using search result page #%d" % gpage)
url = "https://www.google.com/search?" # NOTE: https version goes to the consent
url = "http://www.google.com/search?" # NOTE: https version goes to the consent
url += "q=%s&" % urlencode(dork, convall=True)
url += "num=100&hl=en&complete=0&safe=off&filter=0&btnG=Search"
url += "&start=%d" % ((gpage - 1) * 100)