mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
Fix anomalous backslash in string
This commit is contained in:
@@ -47,7 +47,7 @@ def response(resp):
|
||||
|
||||
dom = html.fromstring(resp.text)
|
||||
|
||||
regex = re.compile('\/200H\/')
|
||||
regex = re.compile(r'\/200H\/')
|
||||
|
||||
# parse results
|
||||
for result in dom.xpath('//div[contains(@class, "tt-a tt-fh")]'):
|
||||
|
||||
Reference in New Issue
Block a user