From e125ecc3347893ae6ec8af6529f880665fe916f3 Mon Sep 17 00:00:00 2001 From: Stefano Date: Fri, 9 Aug 2013 16:34:25 +0200 Subject: UnrestrictLi: merged #215 (cherry picked from commit 9292f3d93db66e09ba6e2eb4a07b4ca69a5a9366) --- pyload/plugins/hoster/UnrestrictLi.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3