summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/HellshareCz.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/HellshareCz.py
parent[ClickAndLoad] Code cosmetics (diff)
downloadpyload-388a2f6478d42e423f1f8442d8539983f3762f22.tar.xz
Improve unit detection in size pattern
Diffstat (limited to 'module/plugins/hoster/HellshareCz.py')
-rw-r--r--module/plugins/hoster/HellshareCz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/HellshareCz.py b/module/plugins/hoster/HellshareCz.py
index 00fc17fba..ddb7682b1 100644
--- a/module/plugins/hoster/HellshareCz.py
+++ b/module/plugins/hoster/HellshareCz.py
@@ -18,7 +18,7 @@ class HellshareCz(SimpleHoster):
FILE_NAME_PATTERN = r'<h1 id="filename"[^>]*>(?P<N>[^<]+)</h1>'
- FILE_SIZE_PATTERN = r'<strong id="FileSize_master">(?P<S>[\d.,]+)&nbsp;(?P<U>\w+)</strong>'
+ FILE_SIZE_PATTERN = r'<strong id="FileSize_master">(?P<S>[\d.,]+)&nbsp;(?P<U>[\w^_]+)</strong>'
OFFLINE_PATTERN = r'<h1>File not found.</h1>'
SHOW_WINDOW_PATTERN = r'<a href="([^?]+/(\d+)/\?do=(fileDownloadButton|relatedFileDownloadButton-\2)-showDownloadWindow)"'