summaryrefslogtreecommitdiff
path: root/searx/engines/flickr-noapi.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-01-11 01:42:55 +0100
committerAdam Tauber <asciimoo@gmail.com>2015-01-11 01:42:55 +0100
commite1856426e21a0ef4839365c5e49dd6a673cc7a02 (patch)
tree7dbaf0f5a31989bb01bf0513f18d6f80bdf77871 /searx/engines/flickr-noapi.py
parent8ef709ea1f86413d04051eea0876c20a48c8ae90 (diff)
downloadsearxng-e1856426e21a0ef4839365c5e49dd6a673cc7a02.tar.gz
searxng-e1856426e21a0ef4839365c5e49dd6a673cc7a02.zip
[fix] hadle missing title
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 aa2fa5d3b..89dd2ee5f 100644
--- a/searx/engines/flickr-noapi.py
+++ b/searx/engines/flickr-noapi.py
@@ -73,7 +73,7 @@ def response(resp):
url = build_flickr_url(photo['owner']['id'], photo['id'])
- title = photo['title']
+ title = photo.get('title', '')
content = '<span class="photo-author">' +\
photo['owner']['username'] +\