summaryrefslogtreecommitdiff
path: root/searx/engines/bing.py
diff options
context:
space:
mode:
authordalf <alex@al-f.net>2014-12-07 16:37:56 +0100
committerdalf <alex@al-f.net>2014-12-07 16:37:56 +0100
commit7c13d630e4531630ce3c392a7d60752715742291 (patch)
tree332019feae5a215d2d54528308792560794d7aa5 /searx/engines/bing.py
parentffcec383b7355c6ca8b60da8579a43019d7d7e6b (diff)
downloadsearxng-7c13d630e4531630ce3c392a7d60752715742291.tar.gz
searxng-7c13d630e4531630ce3c392a7d60752715742291.zip
[fix] pep8 : engines (errors E121, E127, E128 and E501 still exist)
Diffstat (limited to 'searx/engines/bing.py')
-rw-r--r--searx/engines/bing.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/searx/engines/bing.py b/searx/engines/bing.py
index 56c6b36c1..5de461cfe 100644
--- a/searx/engines/bing.py
+++ b/searx/engines/bing.py
@@ -1,8 +1,9 @@
## Bing (Web)
-#
+#
# @website https://www.bing.com
-# @provide-api yes (http://datamarket.azure.com/dataset/bing/search), max. 5000 query/month
-#
+# @provide-api yes (http://datamarket.azure.com/dataset/bing/search),
+# max. 5000 query/month
+#
# @using-api no (because of query limit)
# @results HTML (using search portal)
# @stable no (HTML can change)
@@ -58,8 +59,8 @@ def response(resp):
content = escape(' '.join(result.xpath('.//p//text()')))
# append result
- results.append({'url': url,
- 'title': title,
+ results.append({'url': url,
+ 'title': title,
'content': content})
# return results if something is found
@@ -74,8 +75,8 @@ def response(resp):
content = escape(' '.join(result.xpath('.//p//text()')))
# append result
- results.append({'url': url,
- 'title': title,
+ results.append({'url': url,
+ 'title': title,
'content': content})
# return results