summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MyfastfileCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-23 13:29:12 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-23 13:29:12 +0200
commitc9b42f02f83a95d7741eee96247466d3b610b159 (patch)
treeba642be8eeb25233e83763aab2aa6227b31c7885 /module/plugins/hoster/MyfastfileCom.py
parent[Dereferer] Don't preload (diff)
downloadpyload-c9b42f02f83a95d7741eee96247466d3b610b159.tar.xz
self.html -> self.data
Diffstat (limited to 'module/plugins/hoster/MyfastfileCom.py')
-rw-r--r--module/plugins/hoster/MyfastfileCom.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/hoster/MyfastfileCom.py b/module/plugins/hoster/MyfastfileCom.py
index 9aaeafe34..acdec9f2b 100644
--- a/module/plugins/hoster/MyfastfileCom.py
+++ b/module/plugins/hoster/MyfastfileCom.py
@@ -27,17 +27,17 @@ class MyfastfileCom(MultiHoster):
def handle_premium(self, pyfile):
- self.html = self.load('http://myfastfile.com/api.php',
+ self.data = self.load('http://myfastfile.com/api.php',
get={'user': self.account.user,
'pass': self.account.get_login('password'),
'link': pyfile.url})
- self.log_debug("JSON data: " + self.html)
+ self.log_debug("JSON data: " + self.data)
- self.html = json.loads(self.html)
- if self.html['status'] != 'ok':
+ self.data = json.loads(self.data)
+ if self.data['status'] != 'ok':
self.fail(_("Unable to unrestrict link"))
- self.link = self.html['link']
+ self.link = self.data['link']
getInfo = create_getInfo(MyfastfileCom)