summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/YadiSk.py
diff options
context:
space:
mode:
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