summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/HellspyCz.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-10-20 09:30:04 +0200
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-10-20 09:30:04 +0200
commit1b494bca9f442b3a8dd75818c68f41235dcdbdfe (patch)
tree133b30c975f6541b1a01fa289eebc5d8295b53ab /module/plugins/hoster/HellspyCz.py
parentupdate CaptchaBrotherhood - closed #696, sharerapid.com (diff)
downloadpyload-1b494bca9f442b3a8dd75818c68f41235dcdbdfe.tar.xz
small plugin fixes, closed #694, #695
Diffstat (limited to 'module/plugins/hoster/HellspyCz.py')
-rw-r--r--module/plugins/hoster/HellspyCz.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/HellspyCz.py b/module/plugins/hoster/HellspyCz.py
index 22838b481..ad0cccd54 100644
--- a/module/plugins/hoster/HellspyCz.py
+++ b/module/plugins/hoster/HellspyCz.py
@@ -22,15 +22,15 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class HellspyCz(SimpleHoster):
__name__ = "HellspyCz"
__type__ = "hoster"
- __pattern__ = r"http://(?:\w*\.)*hellspy\.(?:cz|com|sk|hu)(/\S+/\d+)/?.*"
- __version__ = "0.25"
+ __pattern__ = r"http://(?:\w*\.)*(?:hellspy\.(?:cz|com|sk|hu|pl)|sciagaj.pl)(/\S+/\d+)/?.*"
+ __version__ = "0.26"
__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_OFFLINE_PATTERN = r'<h2>(404 - Page|File) not found</h2>'
- FILE_URL_REPLACEMENTS = [(r"http://(?:\w*\.)*hellspy\.(?:cz|com|sk|hu)(/\S+/\d+)/?.*", r"http://www.hellspy.com\1")]
+ FILE_URL_REPLACEMENTS = [(__pattern__, r"http://www.hellspy.com\1")]
CREDIT_LEFT_PATTERN = r'<strong>Credits: </strong>\s*(\d+)'
DOWNLOAD_AGAIN_PATTERN = r'<a id="button-download-start"[^>]*title="You can download the file without deducting your credit.">'