diff options
author | zoidberg10 <zoidberg@mujmail.cz> | 2011-11-29 21:45:27 +0100 |
---|---|---|
committer | zoidberg10 <zoidberg@mujmail.cz> | 2011-11-29 21:45:27 +0100 |
commit | 8d3d5625aa14614f5799621137a27f07d08e3dca (patch) | |
tree | 46ba08101a8f225805ca2f77e8db0869edb58b45 /module/plugins/hoster/CzshareCom.py | |
parent | Merged in nick_de/pyload (pull request #6) (diff) | |
download | pyload-8d3d5625aa14614f5799621137a27f07d08e3dca.tar.xz |
update hellspy.cz, add bayfiles.com
Diffstat (limited to 'module/plugins/hoster/CzshareCom.py')
-rw-r--r-- | module/plugins/hoster/CzshareCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/CzshareCom.py b/module/plugins/hoster/CzshareCom.py index 1a705e302..158fb0d1d 100644 --- a/module/plugins/hoster/CzshareCom.py +++ b/module/plugins/hoster/CzshareCom.py @@ -45,11 +45,11 @@ class CzshareCom(SimpleHoster): __name__ = "CzshareCom" __type__ = "hoster" __pattern__ = r"http://(\w*\.)*czshare\.(com|cz)/(\d+/|download.php\?).*" - __version__ = "0.84" + __version__ = "0.85" __description__ = """CZshare.com""" __author_name__ = ("zoidberg") - SIZE_REPLACEMENTS = {',': '.', ' ': ''} + SIZE_REPLACEMENTS = [(',', '.'), (' ', '')] FREE_URL_PATTERN = r'<a href="([^"]+)" class="page-download">[^>]*alt="([^"]+)" /></a>' FREE_FORM_PATTERN = r'<form action="download.php" method="post">\s*<img src="captcha.php" id="captcha" />(.*?)</form>' PREMIUM_FORM_PATTERN = r'<form action="/profi_down.php" method="post">(.*?)</form>' |