diff options
author | Stefano <l.stickell@yahoo.it> | 2013-06-14 12:57:12 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-06-14 12:57:12 +0200 |
commit | 03f2a4599193ed35fc654bba5155ffd7499bdfbf (patch) | |
tree | 19892c5b9c4477e04cc6a0df95583b08666286bf /module/plugins/hoster | |
parent | RestartFailed: fixed debug messages (diff) | |
download | pyload-03f2a4599193ed35fc654bba5155ffd7499bdfbf.tar.xz |
Premium4.me -> Premium.to
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/Premium4Me.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/module/plugins/hoster/Premium4Me.py b/module/plugins/hoster/Premium4Me.py index 08479b59c..4058c707a 100644 --- a/module/plugins/hoster/Premium4Me.py +++ b/module/plugins/hoster/Premium4Me.py @@ -11,11 +11,11 @@ from module.utils import fs_encode class Premium4Me(Hoster):
__name__ = "Premium4Me"
- __version__ = "0.06"
+ __version__ = "0.07"
__type__ = "hoster"
- __pattern__ = r"http://premium4.me/.*"
- __description__ = """premium4.me hoster plugin"""
+ __pattern__ = r"http://premium.to/.*"
+ __description__ = """Premium.to hoster plugin"""
__author_name__ = ("RaNaN", "zoidberg", "stickell")
__author_mail__ = ("RaNaN@pyload.org", "zoidberg@mujmail.cz", "l.stickell@yahoo.it")
@@ -25,10 +25,10 @@ class Premium4Me(Hoster): def process(self, pyfile):
if not self.account:
- self.logError(_("Please enter your premium4.me account or deactivate this plugin"))
- self.fail("No premium4.me account provided")
+ self.logError(_("Please enter your premium.to account or deactivate this plugin"))
+ self.fail("No premium.to account provided")
- self.logDebug("premium4.me: Old URL: %s" % pyfile.url)
+ self.logDebug("premium.to: Old URL: %s" % pyfile.url)
tra = self.getTraffic()
@@ -36,7 +36,7 @@ class Premium4Me(Hoster): self.req.setOption("timeout", 120)
self.download(
- "http://premium4.me/api/getfile.php?authcode=%s&link=%s" % (self.account.authcode, quote(pyfile.url, "")),
+ "http://premium.to/api/getfile.php?authcode=%s&link=%s" % (self.account.authcode, quote(pyfile.url, "")),
disposition=True)
check = self.checkDownload({"nopremium": "No premium account available"})
@@ -64,7 +64,7 @@ class Premium4Me(Hoster): def getTraffic(self):
try:
- traffic = int(self.load("http://premium4.me/api/traffic.php?authcode=%s" % self.account.authcode))
+ traffic = int(self.load("http://premium.to/api/traffic.php?authcode=%s" % self.account.authcode))
except:
traffic = 0
return traffic
|