summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/EuroshareEu.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/EuroshareEu.py')
-rw-r--r--module/plugins/hoster/EuroshareEu.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/hoster/EuroshareEu.py b/module/plugins/hoster/EuroshareEu.py
index a4a4e6881..d7c4b2eeb 100644
--- a/module/plugins/hoster/EuroshareEu.py
+++ b/module/plugins/hoster/EuroshareEu.py
@@ -31,6 +31,7 @@ class EuroshareEu(SimpleHoster):
self.multiDL = self.resumeDownload = self.premium
self.req.setOption("timeout", 120)
+
def handlePremium(self):
if self.ERR_NOT_LOGGED_IN_PATTERN in self.html:
self.account.relogin(self.user)
@@ -46,6 +47,7 @@ class EuroshareEu(SimpleHoster):
elif check == "json":
self.fail(self.lastCheck.group(1))
+
def handleFree(self):
if re.search(self.ERR_PARDL_PATTERN, self.html) is not None:
self.longWait(5 * 60, 12)