summaryrefslogtreecommitdiff
path: root/searx/engines/vimeo.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/vimeo.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/vimeo.py')
-rw-r--r--searx/engines/vimeo.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/searx/engines/vimeo.py b/searx/engines/vimeo.py
index 2a91e76fa..c66c4148a 100644
--- a/searx/engines/vimeo.py
+++ b/searx/engines/vimeo.py
@@ -1,8 +1,9 @@
## Vimeo (Videos)
-#
+#
# @website https://vimeo.com/
-# @provide-api yes (http://developer.vimeo.com/api), they have a maximum count of queries/hour
-#
+# @provide-api yes (http://developer.vimeo.com/api),
+# they have a maximum count of queries/hour
+#
# @using-api no (TODO, rewrite to api)
# @results HTML (using search portal)
# @stable no (HTML can change)
@@ -35,11 +36,12 @@ publishedDate_xpath = './/p[@class="meta"]//attribute::datetime'
# do search-request
def request(query, params):
- params['url'] = search_url.format(pageno=params['pageno'] ,
+ params['url'] = search_url.format(pageno=params['pageno'],
query=urlencode({'q': query}))
# TODO required?
- params['cookies']['__utma'] = '00000000.000#0000000.0000000000.0000000000.0000000000.0'
+ params['cookies']['__utma'] =\
+ '00000000.000#0000000.0000000000.0000000000.0000000000.0'
return params