Cqoicebordel vor 10 Jahren
Ursprung
Commit
4238812a51
3 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 1
    1
      searx/engines/bing_images.py
  2. 1
    1
      searx/engines/deviantart.py
  3. 1
    1
      searx/engines/flickr-noapi.py

+ 1
- 1
searx/engines/bing_images.py Datei anzeigen

@@ -65,7 +65,7 @@ def response(resp):
65 65
 
66 66
         title = link.attrib.get('t1')
67 67
         ihk = link.attrib.get('ihk')
68
-        
68
+
69 69
         #url = 'http://' + link.attrib.get('t3')
70 70
         url = yaml_data.get('surl')
71 71
         img_src = yaml_data.get('imgurl')

+ 1
- 1
searx/engines/deviantart.py Datei anzeigen

@@ -43,7 +43,7 @@ def response(resp):
43 43
         return []
44 44
 
45 45
     dom = html.fromstring(resp.text)
46
-    
46
+
47 47
     regex = re.compile('\/200H\/')
48 48
 
49 49
     # parse results

+ 1
- 1
searx/engines/flickr-noapi.py Datei anzeigen

@@ -74,7 +74,7 @@ def response(resp):
74 74
 # For a bigger thumbnail, keep only the url_z, not the url_n
75 75
         if 'n' in photo['sizes']:
76 76
             thumbnail_src = photo['sizes']['n']['displayUrl']
77
-        elif 'z'  in photo['sizes']:
77
+        elif 'z' in photo['sizes']:
78 78
             thumbnail_src = photo['sizes']['z']['displayUrl']
79 79
         else:
80 80
             thumbnail_src = img_src