From 8598fdcf5ecf1bad7a67ea9f3fed574b265fc12b Mon Sep 17 00:00:00 2001 From: Paul Walko Date: Sun, 28 May 2017 00:49:11 -0400 Subject: [PATCH] forgot to change ddg url back --- modules/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/search.py b/modules/search.py index 4b97b61..c424d24 100644 --- a/modules/search.py +++ b/modules/search.py @@ -129,7 +129,7 @@ r_duck = re.compile(r'nofollow" class="[^"]+" href=".+?(http.*?)">') def duck_search(query): query = query.replace('!', '') query = web.quote(query) - uri = 'https://duckduckgo.com/html/?q=%s&kl=uk-en&ia=calculator' % query + uri = 'https://duckduckgo.com/html/?q=%s&kl=uk-en' % query bytes = web.get(uri) m = r_duck.search(bytes) if m: