Browse Source

[fix] hadle missing title

Adam Tauber 10 years ago
parent
commit
e1856426e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      searx/engines/flickr-noapi.py

+ 1 - 1
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'] +\