logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: 6cd9a045f87bc5143d186d309bcd351b7f0bf5cf
parent f5d3b215660c740e9bdda6071bd3d5dc980cc304
Author: Alexandre Flament <alex@al-f.net>
Date:   Sat,  2 May 2015 12:36:49 +0200

[fix] flickr engine

Diffstat:

Msearx/engines/flickr_noapi.py4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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')