diff options
author | Stefano <l.stickell@yahoo.it> | 2013-08-09 16:34:25 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-08-09 20:26:57 +0200 |
commit | e125ecc3347893ae6ec8af6529f880665fe916f3 (patch) | |
tree | efba67d16be29160aa0b43bcb0ece7222eb17559 | |
parent | UnrestrictLi: fixed http://forum.pyload.org/viewtopic.php?p=10602#p10602 (diff) | |
download | pyload-e125ecc3347893ae6ec8af6529f880665fe916f3.tar.xz |
UnrestrictLi: merged #215
(cherry picked from commit 9292f3d93db66e09ba6e2eb4a07b4ca69a5a9366)
-rw-r--r-- | pyload/plugins/hoster/UnrestrictLi.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pyload/plugins/hoster/UnrestrictLi.py b/pyload/plugins/hoster/UnrestrictLi.py index c87e14d1a..4dd039ca7 100644 --- a/pyload/plugins/hoster/UnrestrictLi.py +++ b/pyload/plugins/hoster/UnrestrictLi.py @@ -35,7 +35,7 @@ def secondsToMidnight(): class UnrestrictLi(Hoster): __name__ = "UnrestrictLi" - __version__ = "0.08" + __version__ = "0.09" __type__ = "hoster" __pattern__ = r"https?://.*(unrestrict|unr)\.li" __description__ = """Unrestrict.li hoster plugin""" @@ -63,6 +63,9 @@ class UnrestrictLi(Hoster): break if "File offline" in page: self.offline() + elif "ERROR_HOSTER_TEMPORARILY_UNAVAILABLE" in page: + self.logInfo("Hoster temporarily unavailable, waiting 1 minute and retry") + self.retry(5, 60, "Hoster is temporarily unavailable") elif "You are not allowed to download from this host" in page: self.fail("You are not allowed to download from this host") elif "You have reached your daily limit for this host" in page: |