From b3ab221b9808ba2b7b01d417210af9b9527e661c Mon Sep 17 00:00:00 2001 From: stepshal Date: Mon, 11 Jul 2016 20:29:47 +0700 Subject: Fix anomalous backslash in string --- searx/engines/deviantart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/engines/deviantart.py') diff --git a/searx/engines/deviantart.py b/searx/engines/deviantart.py index 135aeb324..c7816b9bc 100644 --- a/searx/engines/deviantart.py +++ b/searx/engines/deviantart.py @@ -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")]'): -- cgit v1.2.3