summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-12-06 14:07:17 +0100
committerGravatar Stefano <l.stickell@yahoo.it> 2013-12-15 22:27:16 +0100
commit9ca6c99583ddba78ef296edbc957f479c686a6e9 (patch)
treee2708298fe581685f42cd5bca30bef66f7ee28ab
parentcatch all errors when starting link decrypter (diff)
downloadpyload-9ca6c99583ddba78ef296edbc957f479c686a6e9.tar.xz
Zippyshare: fixed #419
(cherry picked from commit 4303eb410c9e28c6a4c51e520876e55bb7845857)
-rw-r--r--pyload/plugins/hoster/ZippyshareCom.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/pyload/plugins/hoster/ZippyshareCom.py b/pyload/plugins/hoster/ZippyshareCom.py
index c98679a22..e4f2befa0 100644
--- a/pyload/plugins/hoster/ZippyshareCom.py
+++ b/pyload/plugins/hoster/ZippyshareCom.py
@@ -18,7 +18,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.41"
+ __version__ = "0.42"
__description__ = """Zippyshare.com Download Hoster"""
__author_name__ = ("spoob", "zoidberg", "stickell")
__author_mail__ = ("spoob@pyload.org", "zoidberg@mujmail.cz", "l.stickell@yahoo.it")
@@ -86,6 +86,10 @@ class ZippyshareCom(SimpleHoster):
js = re.sub(regex, omg, js)
js = re.sub(r"document.getElementById\(\\*'dlbutton\\*'\).href = ", '', js)
url = self.js.eval(js)
+ elif found and re.search(r"document.getElementById\(\\*'dlbutton\\*'\).href = \"", self.html):
+ js = "\n".join(found.groups())
+ js = re.sub(r"document.getElementById\(\\*'dlbutton\\*'\).href = ", '', js)
+ url = self.js.eval(js)
else:
#Method #2: SWF eval
url = self.swf_eval()