This commit is contained in:
Miroslav Stampar
2017-11-06 10:00:29 +01:00
parent cc37b12d37
commit 0d1ea50785
3 changed files with 4 additions and 4 deletions

View File

@@ -122,7 +122,7 @@ def _search(dork):
elif choice == '2':
url = "https://www.bing.com/search?q=%s&first=%d" % (urlencode(dork, convall=True), (gpage - 1) * 10 + 1)
regex = BING_REGEX
elif choice == '1':
else:
url = "https://duckduckgo.com/d.js?"
url += "q=%s&p=%d&s=100" % (urlencode(dork, convall=True), gpage)
regex = DUCKDUCKGO_REGEX