summaryrefslogtreecommitdiff
path: root/searx/engines/flickr.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2024-03-11 07:45:08 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-03-11 14:55:38 +0100
commit8205f170ff983e5240d32dc17d7fdb526ebe5fe7 (patch)
tree536acda827bcdd1a6668714855e6f6c3ba6b68d4 /searx/engines/flickr.py
parent707d6270c80426b54aeaa0ac0acd80ded45df533 (diff)
downloadsearxng-8205f170ff983e5240d32dc17d7fdb526ebe5fe7.tar.gz
searxng-8205f170ff983e5240d32dc17d7fdb526ebe5fe7.zip
[mod] pylint all engines without PYLINT_SEARXNG_DISABLE_OPTION
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/flickr.py')
-rw-r--r--searx/engines/flickr.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/searx/engines/flickr.py b/searx/engines/flickr.py
index b7cd76808..89c3b8cfd 100644
--- a/searx/engines/flickr.py
+++ b/searx/engines/flickr.py
@@ -78,12 +78,10 @@ def response(resp):
else:
thumbnail_src = img_src
- url = build_flickr_url(photo['owner'], photo['id'])
-
# append result
results.append(
{
- 'url': url,
+ 'url': build_flickr_url(photo['owner'], photo['id']),
'title': photo['title'],
'img_src': img_src,
'thumbnail_src': thumbnail_src,