diff options
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 |