summaryrefslogtreecommitdiff
path: root/searx/engines/500px.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/500px.py')
-rw-r--r--searx/engines/500px.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/500px.py b/searx/engines/500px.py
index 5d53af32c..3b95619a1 100644
--- a/searx/engines/500px.py
+++ b/searx/engines/500px.py
@@ -35,9 +35,9 @@ def request(query, params):
# get response from search-request
def response(resp):
results = []
-
+
dom = html.fromstring(resp.text)
-
+
# parse results
for result in dom.xpath('//div[@class="photo"]'):
link = result.xpath('.//a')[0]