summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorCqoicebordel <Cqoicebordel@users.noreply.github.com>2015-01-17 19:24:35 +0100
committerCqoicebordel <Cqoicebordel@users.noreply.github.com>2015-01-17 19:24:35 +0100
commit4238812a5190834da06bbcd148e6d551713c1a01 (patch)
tree1cea34576ff2524a16a6107bb15de16ffeff4e06 /searx
parentcb4a3fe598707fc42f86ea3f7bcf517dcd4db660 (diff)
downloadsearxng-4238812a5190834da06bbcd148e6d551713c1a01.tar.gz
searxng-4238812a5190834da06bbcd148e6d551713c1a01.zip
Flake8
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/bing_images.py2
-rw-r--r--searx/engines/deviantart.py2
-rw-r--r--searx/engines/flickr-noapi.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/searx/engines/bing_images.py b/searx/engines/bing_images.py
index e1dda0b1f..9ae498427 100644
--- a/searx/engines/bing_images.py
+++ b/searx/engines/bing_images.py
@@ -65,7 +65,7 @@ def response(resp):
title = link.attrib.get('t1')
ihk = link.attrib.get('ihk')
-
+
#url = 'http://' + link.attrib.get('t3')
url = yaml_data.get('surl')
img_src = yaml_data.get('imgurl')
diff --git a/searx/engines/deviantart.py b/searx/engines/deviantart.py
index 2c6661cef..6284cf598 100644
--- a/searx/engines/deviantart.py
+++ b/searx/engines/deviantart.py
@@ -43,7 +43,7 @@ def response(resp):
return []
dom = html.fromstring(resp.text)
-
+
regex = re.compile('\/200H\/')
# parse results
diff --git a/searx/engines/flickr-noapi.py b/searx/engines/flickr-noapi.py
index fdd8bc3eb..66c6f4027 100644
--- a/searx/engines/flickr-noapi.py
+++ b/searx/engines/flickr-noapi.py
@@ -74,7 +74,7 @@ def response(resp):
# For a bigger thumbnail, keep only the url_z, not the url_n
if 'n' in photo['sizes']:
thumbnail_src = photo['sizes']['n']['displayUrl']
- elif 'z' in photo['sizes']:
+ elif 'z' in photo['sizes']:
thumbnail_src = photo['sizes']['z']['displayUrl']
else:
thumbnail_src = img_src