summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/AlldebridCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/AlldebridCom.py')
-rw-r--r--module/plugins/hoster/AlldebridCom.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/AlldebridCom.py b/module/plugins/hoster/AlldebridCom.py
index 6ba2cb4e7..e8a587532 100644
--- a/module/plugins/hoster/AlldebridCom.py
+++ b/module/plugins/hoster/AlldebridCom.py
@@ -33,8 +33,9 @@ class AlldebridCom(MultiHoster):
def handle_premium(self, pyfile):
password = self.get_password()
- data = json.loads(self.load("http://www.alldebrid.com/service.php",
- get={'link': pyfile.url, 'json': "true", 'pw': password}))
+ html = self.load("http://www.alldebrid.com/service.php",
+ get={'link': pyfile.url, 'json': "true", 'pw': password})
+ data = json.loads(html)
self.log_debug("Json data", data)