diff options
-rw-r--r-- | searx/engines/duckduckgo_definitions.py | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | searx/engines/flickr.py | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | searx/engines/google_images.py | 0 |
3 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/duckduckgo_definitions.py b/searx/engines/duckduckgo_definitions.py index 2b180d0ff..2d97f8154 100644 --- a/searx/engines/duckduckgo_definitions.py +++ b/searx/engines/duckduckgo_definitions.py @@ -1,7 +1,7 @@ import json from urllib import urlencode -url = 'http://api.duckduckgo.com/?{query}&format=json&pretty=0' +url = 'http://api.duckduckgo.com/?{query}&format=json&pretty=0&no_redirect=1' def request(query, params): params['url'] = url.format(query=urlencode({'q': query})) diff --git a/searx/engines/flickr.py b/searx/engines/flickr.py index a9832856d..a9832856d 100755..100644 --- a/searx/engines/flickr.py +++ b/searx/engines/flickr.py diff --git a/searx/engines/google_images.py b/searx/engines/google_images.py index d828a9c4b..d828a9c4b 100755..100644 --- a/searx/engines/google_images.py +++ b/searx/engines/google_images.py |