diff options
author | Stefano <l.stickell@yahoo.it> | 2014-03-14 11:21:41 +0100 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-21 17:04:52 +0200 |
commit | f17ddffa23db452ed50961f7eafbc12686d7f52a (patch) | |
tree | 309502d161b40d7825b7f6f69d9228195dcde960 | |
parent | New crypter: TusfilesNetFolder (diff) | |
download | pyload-f17ddffa23db452ed50961f7eafbc12686d7f52a.tar.xz |
Zippyshare: fixed #542
Thanks @gaberad
(cherry picked from commit 472c2e44ecfabafb77609bab5613f6757baa52cb)
-rw-r--r-- | pyload/plugins/hoster/ZippyshareCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/hoster/ZippyshareCom.py b/pyload/plugins/hoster/ZippyshareCom.py index 790dab6c4..2df59c58f 100644 --- a/pyload/plugins/hoster/ZippyshareCom.py +++ b/pyload/plugins/hoster/ZippyshareCom.py @@ -17,7 +17,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.43" + __version__ = "0.44" __description__ = """Zippyshare.com Download Hoster""" __author_name__ = ("spoob", "zoidberg", "stickell") __author_mail__ = ("spoob@pyload.org", "zoidberg@mujmail.cz", "l.stickell@yahoo.it") @@ -82,7 +82,7 @@ class ZippyshareCom(SimpleHoster): js = re.sub(regex + r" = ([^;]+);", '', js) js = re.sub(regex, omg, js) js = re.sub(r"document.getElementById\(\\*'dlbutton\\*'\).href\s*= ", '', js) - js = re.sub(r"function someFunction\(\) {", '', js) + js = re.sub(r"function som(e|d)Function\(\) {", '', js) url = self.js.eval(js) elif found and re.search(r"document.getElementById\(\\*'dlbutton\\*'\).href = \"", self.html): js = "\n".join(found.groups()) |