summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-08-31 00:08:12 +0200
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-08-31 00:08:12 +0200
commit6421e4e27656a3cbcbd434bca5c185be502d665c (patch)
treec3fadb5b81b7baed353e88317df2c7a28fae5f65 /module
parentAdded DuckcryptInfo decrypter, smaller fixes (diff)
downloadpyload-6421e4e27656a3cbcbd434bca5c185be502d665c.tar.xz
zippyshare - closed #674
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/ZippyshareCom.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hoster/ZippyshareCom.py b/module/plugins/hoster/ZippyshareCom.py
index 6b0b01003..84974e7ba 100644
--- a/module/plugins/hoster/ZippyshareCom.py
+++ b/module/plugins/hoster/ZippyshareCom.py
@@ -10,7 +10,7 @@ class ZippyshareCom(SimpleHoster):
__name__ = "ZippyshareCom"
__type__ = "hoster"
__pattern__ = r"(?P<HOST>http://www\d{0,2}\.zippyshare.com)/v(?:/|iew.jsp.*key=)(?P<KEY>\d+)"
- __version__ = "0.36"
+ __version__ = "0.37"
__description__ = """Zippyshare.com Download Hoster"""
__author_name__ = ("spoob", "zoidberg")
__author_mail__ = ("spoob@pyload.org", "zoidberg@mujmail.cz")
@@ -18,6 +18,7 @@ class ZippyshareCom(SimpleHoster):
FILE_NAME_PATTERN = r'>Name:</font>\s*<font [^>]*>(?P<N>[^<]+)</font><br />'
FILE_SIZE_PATTERN = r'>Size:</font>\s*<font [^>]*>(?P<S>[0-9.,]+) (?P<U>[kKMG]+)i?B</font><br />'
+ FILE_INFO_PATTERN = r'document\.getElementById\(\'dlbutton\'\)\.href = "[^;]*/(?P<N>[^"]+)";'
FILE_OFFLINE_PATTERN = r'>File does not exist on this server</div>'
DOWNLOAD_URL_PATTERN = r"<script type=\"text/javascript\">([^<]*?)document\.getElementById\('dlbutton'\).href = ([^;]+);"