diff options
author | Stefano <l.stickell@yahoo.it> | 2013-08-12 19:53:29 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-08-13 00:12:57 +0200 |
commit | 88138310def4efda80a6073036871538e2e028d0 (patch) | |
tree | 6d42a807e3245aa6a85792c2508d1965982797d3 /pyload | |
parent | Fixed #228 (diff) | |
download | pyload-88138310def4efda80a6073036871538e2e028d0.tar.xz |
FreakshareCom: fixed #210
(cherry picked from commit 7fe507de68c91595e00e93149d92051bc440ce4b)
Diffstat (limited to 'pyload')
-rw-r--r-- | pyload/plugins/hoster/FreakshareCom.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pyload/plugins/hoster/FreakshareCom.py b/pyload/plugins/hoster/FreakshareCom.py index 9a9062509..5a42d1a47 100644 --- a/pyload/plugins/hoster/FreakshareCom.py +++ b/pyload/plugins/hoster/FreakshareCom.py @@ -10,7 +10,7 @@ class FreakshareCom(Hoster): __name__ = "FreakshareCom" __type__ = "hoster" __pattern__ = r"http://(?:www\.)?freakshare\.(net|com)/files/\S*?/" - __version__ = "0.37" + __version__ = "0.38" __description__ = """Freakshare.com Download Hoster""" __author_name__ = ("sitacuisses", "spoob", "mkaay", "Toilal") __author_mail__ = ("sitacuisses@yahoo.de", "spoob@pyload.org", "mkaay@mkaay.de", "toilal.dev@gmail.com") @@ -40,19 +40,22 @@ class FreakshareCom(Hoster): check = self.checkDownload({"bad": "bad try", "paralell": "> Sorry, you cant download more then 1 files at time. <", "empty": "Warning: Unknown: Filename cannot be empty", - "wrong_captcha": "Wrong Captcha!"}) + "wrong_captcha": "Wrong Captcha!", + "downloadserver": "No Downloadserver. Please try again later!"}) if check == "bad": self.fail("Bad Try.") - if check == "paralell": + elif check == "paralell": self.setWait(300, True) self.wait() self.retry() - if check == "empty": + elif check == "empty": self.fail("File not downloadable") - if check == "wrong_captcha": + elif check == "wrong_captcha": self.invalidCaptcha() self.retry() + elif check == "downloadserver": + self.retry(5, 900, 'No Download server') def prepare(self): pyfile = self.pyfile |