on master help sign in
Flake8
commit4238812a5190834da06bbcd148e6d551713c1a01 authorCqoicebordel <Cqoicebordel@users.noreply.github.com> dateSat 17 Jan 2015, 19:24 (12 years ago) parentcb4a3fe
3 files changed+3−3
searx/engines/bing_images.py+1−1 searx/engines/deviantart.py+1−1 searx/engines/flickr-noapi.py+1−1
searx/engines/bing_images.py+1−1
@@ -65,7 +65,7 @@ def response(resp):
6565
6666 title = link.attrib.get('t1')
6767 ihk = link.attrib.get('ihk')
68−
68+
6969 #url = 'http://' + link.attrib.get('t3')
7070 url = yaml_data.get('surl')
7171 img_src = yaml_data.get('imgurl')
searx/engines/deviantart.py+1−1
@@ -43,7 +43,7 @@ def response(resp):
4343 return []
4444
4545 dom = html.fromstring(resp.text)
46−
46+
4747 regex = re.compile('\/200H\/')
4848
4949 # parse results
searx/engines/flickr-noapi.py+1−1
@@ -74,7 +74,7 @@ def response(resp):
7474# For a bigger thumbnail, keep only the url_z, not the url_n
7575 if 'n' in photo['sizes']:
7676 thumbnail_src = photo['sizes']['n']['displayUrl']
77− elif 'z' in photo['sizes']:
77+ elif 'z' in photo['sizes']:
7878 thumbnail_src = photo['sizes']['z']['displayUrl']
7979 else:
8080 thumbnail_src = img_src