From e1856426e21a0ef4839365c5e49dd6a673cc7a02 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sun, 11 Jan 2015 01:42:55 +0100 Subject: [PATCH] [fix] hadle missing title --- searx/engines/flickr-noapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = '' +\ photo['owner']['username'] +\