summaryrefslogtreecommitdiff
path: root/searx/engines/deviantart.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2019-10-16 15:32:03 +0200
committerAdam Tauber <asciimoo@gmail.com>2019-10-16 15:32:03 +0200
commit7d8fd4b95eb6082d54cf1c8128dce580bf346893 (patch)
tree97d3cf56b0b7ab9a125ddca9250897ecaa1d683b /searx/engines/deviantart.py
parentbbe4442a863b92767c71812acbe2ab72afaaeb54 (diff)
downloadsearxng-7d8fd4b95eb6082d54cf1c8128dce580bf346893.tar.gz
searxng-7d8fd4b95eb6082d54cf1c8128dce580bf346893.zip
[fix] pep8
Diffstat (limited to 'searx/engines/deviantart.py')
-rw-r--r--searx/engines/deviantart.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/searx/engines/deviantart.py b/searx/engines/deviantart.py
index 97aa1e1b1..a0e27e622 100644
--- a/searx/engines/deviantart.py
+++ b/searx/engines/deviantart.py
@@ -37,7 +37,6 @@ def request(query, params):
if params['time_range'] and params['time_range'] not in time_range_dict:
return params
-
params['url'] = search_url.format(page=params['pageno'],
query=urlencode({'q': query}))
if params['time_range'] in time_range_dict:
@@ -56,7 +55,6 @@ def response(resp):
dom = html.fromstring(resp.text)
-
# parse results
for row in dom.xpath('//div[contains(@data-hook, "content_row")]'):
for result in row.xpath('./div'):