summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/HellspyCz.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-10-26 08:50:33 +0200
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-10-26 08:50:33 +0200
commit0ed9a4701df16cfbc06330c51fcf049b32e6258a (patch)
treeb8edf619cc823658ed3ff3fef417255d6eba076b /module/plugins/hoster/HellspyCz.py
parentrapidgator.net, shareonline.biz - closed #701 (diff)
downloadpyload-0ed9a4701df16cfbc06330c51fcf049b32e6258a.tar.xz
update youtube plugin - closed #686
Diffstat (limited to 'module/plugins/hoster/HellspyCz.py')
-rw-r--r--module/plugins/hoster/HellspyCz.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/HellspyCz.py b/module/plugins/hoster/HellspyCz.py
index ad0cccd54..9858c82b7 100644
--- a/module/plugins/hoster/HellspyCz.py
+++ b/module/plugins/hoster/HellspyCz.py
@@ -23,12 +23,13 @@ class HellspyCz(SimpleHoster):
__name__ = "HellspyCz"
__type__ = "hoster"
__pattern__ = r"http://(?:\w*\.)*(?:hellspy\.(?:cz|com|sk|hu|pl)|sciagaj.pl)(/\S+/\d+)/?.*"
- __version__ = "0.26"
+ __version__ = "0.27"
__description__ = """HellSpy.cz"""
__author_name__ = ("zoidberg")
__author_mail__ = ("zoidberg@mujmail.cz")
- FILE_INFO_PATTERN = '<span class="filesize right">(?P<S>[0-9.]+) <span>(?P<U>[kKMG])i?B</span></span>\s*<h1 title="(?P<N>.*?)"'
+ FILE_SIZE_PATTERN = r'<span class="filesize right">(?P<S>[0-9.]+)\s*<span>(?P<U>[kKMG])i?B'
+ FILE_NAME_PATTERN = r'<h1 title="(?P<N>.*?)"'
FILE_OFFLINE_PATTERN = r'<h2>(404 - Page|File) not found</h2>'
FILE_URL_REPLACEMENTS = [(__pattern__, r"http://www.hellspy.com\1")]