summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/SimplyPremiumCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-29 22:43:17 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-29 22:43:17 +0200
commit3353ea228835ffa96cc73d5b5e23f6d92ba84203 (patch)
treec593079745e1a65c39bfa59b3a3b6a07e1b05486 /module/plugins/hoster/SimplyPremiumCom.py
parent[OpenloadIo] Cleanup (diff)
downloadpyload-3353ea228835ffa96cc73d5b5e23f6d92ba84203.tar.xz
Update hoster plugins
Diffstat (limited to 'module/plugins/hoster/SimplyPremiumCom.py')
-rw-r--r--module/plugins/hoster/SimplyPremiumCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/SimplyPremiumCom.py b/module/plugins/hoster/SimplyPremiumCom.py
index be9b89f24..01b21079d 100644
--- a/module/plugins/hoster/SimplyPremiumCom.py
+++ b/module/plugins/hoster/SimplyPremiumCom.py
@@ -9,7 +9,7 @@ from module.plugins.internal.SimpleHoster import seconds_to_midnight
class SimplyPremiumCom(MultiHoster):
__name__ = "SimplyPremiumCom"
__type__ = "hoster"
- __version__ = "0.11"
+ __version__ = "0.12"
__status__ = "testing"
__pattern__ = r'https?://.+simply-premium\.com'
@@ -28,7 +28,7 @@ class SimplyPremiumCom(MultiHoster):
def check_errors(self):
if '<valid>0</valid>' in self.html or (
"You are not allowed to download from this host" in self.html and self.premium):
- self.account.relogin(self.user)
+ self.account.relogin()
self.retry()
elif "NOTFOUND" in self.html:
@@ -40,7 +40,7 @@ class SimplyPremiumCom(MultiHoster):
elif "trafficlimit" in self.html:
self.log_warning(_("Reached daily limit for this host"))
- self.retry(wait_time=seconds_to_midnight(gmt=2), msg="Daily limit for this host reached")
+ self.retry(delay=seconds_to_midnight(), msg="Daily limit for this host reached")
elif "hostererror" in self.html:
self.log_warning(_("Hoster temporarily unavailable, waiting 1 minute and retry"))