summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-27 13:49:50 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-27 13:49:50 +0100
commitd09306aa1f9103141e7fc7c4e72588bf46be71da (patch)
tree7fb1eab7765d33a94efaa5a11aa4196d155f28f7 /module/plugins/hoster
parent[MegaDebridEu] Improve __pattern__ (diff)
downloadpyload-d09306aa1f9103141e7fc7c4e72588bf46be71da.tar.xz
[SimplyPremiumCom] Fixup
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/SimplyPremiumCom.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/SimplyPremiumCom.py b/module/plugins/hoster/SimplyPremiumCom.py
index 87ccb317e..bf7c43af6 100644
--- a/module/plugins/hoster/SimplyPremiumCom.py
+++ b/module/plugins/hoster/SimplyPremiumCom.py
@@ -5,15 +5,15 @@ import re
from datetime import datetime, timedelta
from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo
-from module.plugins.hoster.UnrestrictLi import secondsToMidnight
+from module.plugins.internal.SimpleHoster import secondsToMidnight
class SimplyPremiumCom(MultiHoster):
__name__ = "SimplyPremiumCom"
__type__ = "hoster"
- __version__ = "0.06"
+ __version__ = "0.07"
- __pattern__ = r'https?://.*(simply-premium)\.com'
+ __pattern__ = r'https?://.+simply-premium\.com'
__description__ = """Simply-Premium.com hoster plugin"""
__license__ = "GPLv3"
@@ -49,7 +49,7 @@ class SimplyPremiumCom(MultiHoster):
elif "trafficlimit" in page:
self.logWarning(_("Reached daily limit for this host"))
- self.retry(wait_time=secondsToMidnight(gmt=2), "Daily limit for this host reached")
+ self.retry(wait_time=secondsToMidnight(gmt=2), reason="Daily limit for this host reached")
elif "hostererror" in page:
self.logWarning(_("Hoster temporarily unavailable, waiting 1 minute and retry"))