From 52b5c2a15b2dfa9bcc2ffdcc90b8e3f29fdaa7d8 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 11 Apr 2014 12:17:38 +0200 Subject: Use wait to set time in SimpleHoster plugins Merges vuolter/pyload@bb002ac (cherry picked from commit 7f1467c64fe5c0e902498b3252afd65cb68ed2f9) --- pyload/plugins/hoster/EuroshareEu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyload/plugins/hoster/EuroshareEu.py') diff --git a/pyload/plugins/hoster/EuroshareEu.py b/pyload/plugins/hoster/EuroshareEu.py index 646e8607e..45e10880e 100644 --- a/pyload/plugins/hoster/EuroshareEu.py +++ b/pyload/plugins/hoster/EuroshareEu.py @@ -59,7 +59,7 @@ class EuroshareEu(SimpleHoster): def handleFree(self): if re.search(self.ERR_PARDL_PATTERN, self.html) is not None: - self.longWait(300, 12) + self.longWait(5 * 60, 12) found = re.search(self.FREE_URL_PATTERN, self.html) if found is None: @@ -70,7 +70,7 @@ class EuroshareEu(SimpleHoster): check = self.checkDownload({"multi_dl": re.compile(self.ERR_PARDL_PATTERN)}) if check == "multi_dl": - self.longWait(300, 12) + self.longWait(5 * 60, 12) getInfo = create_getInfo(EuroshareEu) -- cgit v1.2.3