summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar chaosmaker <philipp.antczak@gmail.com> 2013-11-01 18:11:54 +0100
committerGravatar chaosmaker <philipp.antczak@gmail.com> 2013-11-01 18:11:54 +0100
commit277b8647356b2603ebdb8958de4113c2f9462894 (patch)
tree2b87f7a6e5ba760bc34699929551b30ad17fd54c
parentKeep2share: added k2s.cc support (diff)
downloadpyload-277b8647356b2603ebdb8958de4113c2f9462894.tar.xz
Update RealdebridCom.py
Real Debrid now only accepts https connections to any of their api and hence the change
-rw-r--r--module/plugins/accounts/RealdebridCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/RealdebridCom.py b/module/plugins/accounts/RealdebridCom.py
index 6cac5d0bb..a9980b088 100644
--- a/module/plugins/accounts/RealdebridCom.py
+++ b/module/plugins/accounts/RealdebridCom.py
@@ -5,7 +5,7 @@ from module.plugins.Account import Account
class RealdebridCom(Account):
__name__ = "RealdebridCom"
- __version__ = "0.42"
+ __version__ = "0.43"
__type__ = "account"
__description__ = """Real-Debrid.com account plugin"""
__author_name__ = ("Devirex, Hazzard")
@@ -14,7 +14,7 @@ class RealdebridCom(Account):
def loadAccountInfo(self, user, req):
if self.pin_code:
return {"premium": False}
- page = req.load("http://real-debrid.com/api/account.php")
+ page = req.load("https://real-debrid.com/api/account.php")
xml = dom.parseString(page)
account_info = {"validuntil": int(xml.getElementsByTagName("expiration")[0].childNodes[0].nodeValue),
"trafficleft": -1}