diff options
| author | 2013-08-12 19:53:29 +0200 | |
|---|---|---|
| committer | 2013-08-12 19:53:29 +0200 | |
| commit | 7fe507de68c91595e00e93149d92051bc440ce4b (patch) | |
| tree | a72c0edfd7ae956d7822678b36e0913cb746d7f4 /module/plugins | |
| parent | Fixed #228 (diff) | |
| download | pyload-7fe507de68c91595e00e93149d92051bc440ce4b.tar.xz | |
FreakshareCom: fixed #210
Diffstat (limited to 'module/plugins')
| -rw-r--r-- | module/plugins/hoster/FreakshareCom.py | 13 | 
1 files changed, 8 insertions, 5 deletions
| diff --git a/module/plugins/hoster/FreakshareCom.py b/module/plugins/hoster/FreakshareCom.py index 9a9062509..5a42d1a47 100644 --- a/module/plugins/hoster/FreakshareCom.py +++ b/module/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 | 
