summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-08 07:24:29 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-08 07:24:29 +0200
commit3e8cf57be1e7e77936c472db394153604f3e1fef (patch)
treeff35c83e9574c0badc155caa3dba70d079699f28 /module/plugins/accounts
parentNew plugin: VkCom (diff)
downloadpyload-3e8cf57be1e7e77936c472db394153604f3e1fef.tar.xz
Fix https://github.com/pyload/pyload/issues/1459
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/PremiumTo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/PremiumTo.py b/module/plugins/accounts/PremiumTo.py
index 367eb5483..322225d36 100644
--- a/module/plugins/accounts/PremiumTo.py
+++ b/module/plugins/accounts/PremiumTo.py
@@ -6,7 +6,7 @@ from module.plugins.internal.Account import Account
class PremiumTo(Account):
__name__ = "PremiumTo"
__type__ = "account"
- __version__ = "0.09"
+ __version__ = "0.10"
__description__ = """Premium.to account plugin"""
__license__ = "GPLv3"
@@ -16,7 +16,7 @@ class PremiumTo(Account):
def loadAccountInfo(self, user, req):
- traffic = req.load("https://premium.to/api/straffic.php",
+ traffic = req.load("http://premium.to/api/straffic.php", #@TODO: Revert to `https` in 0.4.10
get={'username': self.username, 'password': self.password})
if "wrong username" not in traffic:
@@ -29,7 +29,7 @@ class PremiumTo(Account):
def login(self, user, data, req):
self.username = user
self.password = data['password']
- authcode = req.load("https://premium.to/api/getauthcode.php",
+ authcode = req.load("http://premium.to/api/getauthcode.php", #@TODO: Revert to `https` in 0.4.10
get={'username': user, 'password': self.password},
decode=True)