summaryrefslogtreecommitdiff
path: root/searx/engines/yahoo_news.py
diff options
context:
space:
mode:
authorstepshal <nessento@openmailbox.org>2016-07-11 20:29:47 +0700
committerstepshal <nessento@openmailbox.org>2016-07-11 23:53:13 +0700
commitb3ab221b9808ba2b7b01d417210af9b9527e661c (patch)
tree6ee035fb32906228376d9473e8524e8ed2be745a /searx/engines/yahoo_news.py
parent3fd405dcd3fd46d5b6f2fe1df625eedf0f1fbe02 (diff)
downloadsearxng-b3ab221b9808ba2b7b01d417210af9b9527e661c.tar.gz
searxng-b3ab221b9808ba2b7b01d417210af9b9527e661c.zip
Fix anomalous backslash in string
Diffstat (limited to 'searx/engines/yahoo_news.py')
-rw-r--r--searx/engines/yahoo_news.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/yahoo_news.py b/searx/engines/yahoo_news.py
index d4cfbeda2..e91c1d34e 100644
--- a/searx/engines/yahoo_news.py
+++ b/searx/engines/yahoo_news.py
@@ -55,7 +55,7 @@ def request(query, params):
def sanitize_url(url):
if ".yahoo.com/" in url:
- return re.sub(u"\;\_ylt\=.+$", "", url)
+ return re.sub(u"\\;\\_ylt\\=.+$", "", url)
else:
return url