forked from Icycoide/searxng
Fix anomalous backslash in string
This commit is contained in:
parent
3fd405dcd3
commit
b3ab221b98
21 changed files with 47 additions and 47 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue