mirror of
https://github.com/searxng/searxng.git
synced 2025-12-24 04:30:02 +00:00
Fix anomalous backslash in string
This commit is contained in:
@@ -41,7 +41,7 @@ def response(resp):
|
||||
results = []
|
||||
|
||||
dom = html.fromstring(resp.text)
|
||||
regex = re.compile('3\.jpg.*$')
|
||||
regex = re.compile(r'3\.jpg.*$')
|
||||
|
||||
# parse results
|
||||
for result in dom.xpath('//div[@class="photo"]'):
|
||||
|
||||
Reference in New Issue
Block a user