summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/JunocloudMe.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/JunocloudMe.py
parent[ClickAndLoad] Code cosmetics (diff)
downloadpyload-388a2f6478d42e423f1f8442d8539983f3762f22.tar.xz
Improve unit detection in size pattern
Diffstat (limited to 'module/plugins/hoster/JunocloudMe.py')
-rw-r--r--module/plugins/hoster/JunocloudMe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/JunocloudMe.py b/module/plugins/hoster/JunocloudMe.py
index e51dda141..a60981236 100644
--- a/module/plugins/hoster/JunocloudMe.py
+++ b/module/plugins/hoster/JunocloudMe.py
@@ -20,7 +20,7 @@ class JunocloudMe(XFSPHoster):
FILE_URL_REPLACEMENTS = [(r'//(junocloud)', r'//dl3.\1')]
FILE_NAME_PATTERN = r'<p class="request_file">http://junocloud.me/w{12}/(?P<N>.+?)</p>'
- FILE_SIZE_PATTERN = r'<p class="request_filesize">Size: (?P<S>[\d.,]+) (?P<U>\w+)</p>'
+ FILE_SIZE_PATTERN = r'<p class="request_filesize">Size: (?P<S>[\d.,]+) (?P<U>[\w^_]+)</p>'
OFFLINE_PATTERN = r'>No such file with this filename<'
TEMP_OFFLINE_PATTERN = r'The page may have been renamed, removed or be temporarily unavailable.<'