From 7c13d630e4531630ce3c392a7d60752715742291 Mon Sep 17 00:00:00 2001 From: dalf Date: Sun, 7 Dec 2014 16:37:56 +0100 Subject: [fix] pep8 : engines (errors E121, E127, E128 and E501 still exist) --- searx/engines/vimeo.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'searx/engines/vimeo.py') 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 -- cgit v1.2.3