diff options
author | 2015-12-20 18:43:15 +0100 | |
---|---|---|
committer | 2015-12-27 22:46:01 +0100 | |
commit | 5deded62d94c04be64d34f6b67d07803eea9b6bf (patch) | |
tree | a33f82a6208b3a922bf5e1883f134a1fb86a9217 /module/plugins/hoster/RealdebridCom.py | |
parent | Update addons (diff) | |
download | pyload-5deded62d94c04be64d34f6b67d07803eea9b6bf.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/RealdebridCom.py')
-rw-r--r-- | module/plugins/hoster/RealdebridCom.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/module/plugins/hoster/RealdebridCom.py b/module/plugins/hoster/RealdebridCom.py index 8cf9ab8ce..41208df89 100644 --- a/module/plugins/hoster/RealdebridCom.py +++ b/module/plugins/hoster/RealdebridCom.py @@ -32,11 +32,12 @@ class RealdebridCom(MultiHoster): def handle_premium(self, pyfile): - data = json.loads(self.load("https://real-debrid.com/ajax/unrestrict.php", - get={'lang' : "en", - 'link' : pyfile.url, - 'password': self.get_password(), - 'time' : int(time.time() * 1000)})) + html = self.load("https://real-debrid.com/ajax/unrestrict.php", + get={'lang' : "en", + 'link' : pyfile.url, + 'password': self.get_password(), + 'time' : int(time.time() * 1000)}) + data = json.loads(html) self.log_debug("Returned Data: %s" % data) |