diff options
author | Adam Tauber <asciimoo@gmail.com> | 2015-01-11 01:42:55 +0100 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2015-01-11 01:42:55 +0100 |
commit | e1856426e21a0ef4839365c5e49dd6a673cc7a02 (patch) | |
tree | 7dbaf0f5a31989bb01bf0513f18d6f80bdf77871 /searx/engines/flickr-noapi.py | |
parent | 8ef709ea1f86413d04051eea0876c20a48c8ae90 (diff) | |
download | searxng-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.py | 2 |
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'] +\ |