summaryrefslogtreecommitdiff
path: root/searx/engines/flickr_noapi.py
diff options
context:
space:
mode:
authorAdam Tauber <adam.tauber@balabit.com>2015-02-02 09:36:43 +0100
committerAdam Tauber <adam.tauber@balabit.com>2015-02-02 09:36:43 +0100
commit7f865356f9a6c1b40d0c668c59b3d081de618bac (patch)
tree60e9acb27577968a41136c04f248c24871e83860 /searx/engines/flickr_noapi.py
parent03137eebd9fdfaa57452cb364c1bc9f31b243f67 (diff)
parent5a16077455ef9e821a2b5f5f7e975be8a37ce83d (diff)
downloadsearxng-7f865356f9a6c1b40d0c668c59b3d081de618bac.tar.gz
searxng-7f865356f9a6c1b40d0c668c59b3d081de618bac.zip
Merge branch 'unit-tests' of https://github.com/Cqoicebordel/searx into Cqoicebordel-unit-tests
Conflicts: searx/tests/test_engines.py
Diffstat (limited to 'searx/engines/flickr_noapi.py')
-rw-r--r--searx/engines/flickr_noapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/flickr_noapi.py b/searx/engines/flickr_noapi.py
index 9b28ded13..3a83fdc65 100644
--- a/searx/engines/flickr_noapi.py
+++ b/searx/engines/flickr_noapi.py
@@ -21,7 +21,7 @@ logger = logger.getChild('flickr-noapi')
categories = ['images']
url = 'https://secure.flickr.com/'
-search_url = url+'search/?{query}&page={page}'
+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')