diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2016-07-18 22:27:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-18 22:27:17 +0200 |
| commit | aa09f963eb8220f866334779f61741da8926fcf2 (patch) | |
| tree | 37b9c3658374d6b8499be7713c8dc52c66e0be72 /searx/engines/currency_convert.py | |
| parent | 21c5fb1c4514444a7c4fdecd84874f2b7c367f38 (diff) | |
| parent | b3ab221b9808ba2b7b01d417210af9b9527e661c (diff) | |
Merge pull request #621 from stepshal/anomalous-backslash-in-string
Fix anomalous backslash in string
Diffstat (limited to 'searx/engines/currency_convert.py')
| -rw-r--r-- | searx/engines/currency_convert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/currency_convert.py b/searx/engines/currency_convert.py index b0ffb490a..bc839cfb5 100644 --- a/searx/engines/currency_convert.py +++ b/searx/engines/currency_convert.py @@ -9,7 +9,7 @@ categories = [] url = 'https://download.finance.yahoo.com/d/quotes.csv?e=.csv&f=sl1d1t1&s={query}=X' weight = 100 -parser_re = re.compile(u'.*?(\d+(?:\.\d+)?) ([^.0-9]+) (?:in|to) ([^.0-9]+)', re.I) # noqa +parser_re = re.compile(u'.*?(\\d+(?:\\.\\d+)?) ([^.0-9]+) (?:in|to) ([^.0-9]+)', re.I) # noqa db = 1 |