summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2015-05-02 12:36:49 +0200
committerAlexandre Flament <alex@al-f.net>2015-05-02 12:36:49 +0200
commit6cd9a045f87bc5143d186d309bcd351b7f0bf5cf (patch)
treecd5974f8c7c75621f5d4bae71f114a9e4c3755db /searx
parentf5d3b215660c740e9bdda6071bd3d5dc980cc304 (diff)
downloadsearxng-6cd9a045f87bc5143d186d309bcd351b7f0bf5cf.tar.gz
searxng-6cd9a045f87bc5143d186d309bcd351b7f0bf5cf.zip
[fix] flickr engine
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/flickr_noapi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/flickr_noapi.py b/searx/engines/flickr_noapi.py
index 3a83fdc65..f24521e7f 100644
--- a/searx/engines/flickr_noapi.py
+++ b/searx/engines/flickr_noapi.py
@@ -20,8 +20,8 @@ logger = logger.getChild('flickr-noapi')
categories = ['images']
-url = 'https://secure.flickr.com/'
-search_url = url + 'search/?{query}&page={page}'
+url = 'https://www.flickr.com/'
+search_url = url + 'search?{query}&page={page}'
photo_url = 'https://www.flickr.com/photos/{userid}/{photoid}'
regex = re.compile(r"\"search-photos-models\",\"photos\":(.*}),\"totalItems\":", re.DOTALL)
image_sizes = ('o', 'k', 'h', 'b', 'c', 'z', 'n', 'm', 't', 'q', 's')