summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/BitshareCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-14 13:38:49 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-14 13:38:49 +0200
commit388a2f6478d42e423f1f8442d8539983f3762f22 (patch)
tree2ab7720d32a37b7f9b467865565dbb8ddc7b71b1 /module/plugins/hoster/BitshareCom.py
parent[ClickAndLoad] Code cosmetics (diff)
downloadpyload-388a2f6478d42e423f1f8442d8539983f3762f22.tar.xz
Improve unit detection in size pattern
Diffstat (limited to 'module/plugins/hoster/BitshareCom.py')
-rw-r--r--module/plugins/hoster/BitshareCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/BitshareCom.py b/module/plugins/hoster/BitshareCom.py
index 1b70b1710..8fd8892be 100644
--- a/module/plugins/hoster/BitshareCom.py
+++ b/module/plugins/hoster/BitshareCom.py
@@ -21,7 +21,7 @@ class BitshareCom(SimpleHoster):
("fragonib", "fragonib[AT]yahoo[DOT]es")]
- FILE_INFO_PATTERN = r'Downloading (?P<N>.+) - (?P<S>[\d.,]+) (?P<U>\w+)</h1>'
+ FILE_INFO_PATTERN = r'Downloading (?P<N>.+) - (?P<S>[\d.,]+) (?P<U>[\w^_]+)</h1>'
OFFLINE_PATTERN = r'(>We are sorry, but the requested file was not found in our database|>Error - File not available<|The file was deleted either by the uploader, inactivity or due to copyright claim)'
COOKIES = [(".bitshare.com", "language_selection", "EN")]