diff options
Diffstat (limited to 'module/plugins/hoster/EuroshareEu.py')
-rw-r--r-- | module/plugins/hoster/EuroshareEu.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/hoster/EuroshareEu.py b/module/plugins/hoster/EuroshareEu.py index 5224dfd9f..03bec8bbd 100644 --- a/module/plugins/hoster/EuroshareEu.py +++ b/module/plugins/hoster/EuroshareEu.py @@ -19,6 +19,7 @@ import re from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo + class EuroshareEu(SimpleHoster): __name__ = "EuroshareEu" __type__ = "hoster" @@ -48,8 +49,7 @@ class EuroshareEu(SimpleHoster): self.download(self.pyfile.url.rstrip('/') + "/download/") check = self.checkDownload({"login": re.compile(self.ERR_NOT_LOGGED_IN_PATTERN), - "json": re.compile(r'\{"status":"error".*?"message":"(.*?)"') - }) + "json": re.compile(r'\{"status":"error".*?"message":"(.*?)"')}) if check == "login" or (check == "json" and self.lastCheck.group(1) == "Access token expired"): self.account.relogin(self.user) self.retry(reason="Access token expired") @@ -71,4 +71,5 @@ class EuroshareEu(SimpleHoster): if check == "multi_dl": self.longWait(300, 12) -getInfo = create_getInfo(EuroshareEu)
\ No newline at end of file + +getInfo = create_getInfo(EuroshareEu) |