summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/YadiSk.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/YadiSk.py
parent[Dereferer] Don't preload (diff)
downloadpyload-c9b42f02f83a95d7741eee96247466d3b610b159.tar.xz
self.html -> self.data
Diffstat (limited to 'module/plugins/hoster/YadiSk.py')
-rw-r--r--module/plugins/hoster/YadiSk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/YadiSk.py b/module/plugins/hoster/YadiSk.py
index 579046caf..1a8df173d 100644
--- a/module/plugins/hoster/YadiSk.py
+++ b/module/plugins/hoster/YadiSk.py
@@ -72,7 +72,7 @@ class YadiSk(SimpleHoster):
try:
- self.html = self.load("https://yadi.sk/models/",
+ self.data = self.load("https://yadi.sk/models/",
get={'_m': "do-get-resource-url"},
post={'idClient': self.info['idclient'],
'version' : self.info['version'],
@@ -80,7 +80,7 @@ class YadiSk(SimpleHoster):
'sk' : self.info['sk'],
'id.0' : self.info['id']})
- self.link = json.loads(self.html)['models'][0]['data']['file']
+ self.link = json.loads(self.data)['models'][0]['data']['file']
except Exception:
pass