summaryrefslogtreecommitdiff
path: root/searx/engines/tokyotoshokan.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-07-18 22:27:17 +0200
committerGitHub <noreply@github.com>2016-07-18 22:27:17 +0200
commitaa09f963eb8220f866334779f61741da8926fcf2 (patch)
tree37b9c3658374d6b8499be7713c8dc52c66e0be72 /searx/engines/tokyotoshokan.py
parent21c5fb1c4514444a7c4fdecd84874f2b7c367f38 (diff)
parentb3ab221b9808ba2b7b01d417210af9b9527e661c (diff)
Merge pull request #621 from stepshal/anomalous-backslash-in-string
Fix anomalous backslash in string
Diffstat (limited to 'searx/engines/tokyotoshokan.py')
-rw-r--r--searx/engines/tokyotoshokan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/tokyotoshokan.py b/searx/engines/tokyotoshokan.py
index 17e8e2191..e2990e153 100644
--- a/searx/engines/tokyotoshokan.py
+++ b/searx/engines/tokyotoshokan.py
@@ -48,7 +48,7 @@ def response(resp):
return []
# regular expression for parsing torrent size strings
- size_re = re.compile('Size:\s*([\d.]+)(TB|GB|MB|B)', re.IGNORECASE)
+ size_re = re.compile(r'Size:\s*([\d.]+)(TB|GB|MB|B)', re.IGNORECASE)
# processing the results, two rows at a time
for i in xrange(0, len(rows), 2):