summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/YibaishiwuCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-20 18:43:15 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-27 22:46:01 +0100
commit5deded62d94c04be64d34f6b67d07803eea9b6bf (patch)
treea33f82a6208b3a922bf5e1883f134a1fb86a9217 /module/plugins/hoster/YibaishiwuCom.py
parentUpdate addons (diff)
downloadpyload-5deded62d94c04be64d34f6b67d07803eea9b6bf.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/YibaishiwuCom.py')
-rw-r--r--module/plugins/hoster/YibaishiwuCom.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hoster/YibaishiwuCom.py b/module/plugins/hoster/YibaishiwuCom.py
index 9d6e28b79..24c90a856 100644
--- a/module/plugins/hoster/YibaishiwuCom.py
+++ b/module/plugins/hoster/YibaishiwuCom.py
@@ -41,7 +41,8 @@ class YibaishiwuCom(SimpleHoster):
self.log_debug(('FREEUSER' if m.group(2) == "download" else 'GUEST') + ' URL', url)
- res = json.loads(self.load(urlparse.urljoin("http://115.com/", url), decode=False))
+ html = self.load(urlparse.urljoin("http://115.com/", url), decode=False)
+ res = json.loads(html)
if "urls" in res:
mirrors = res['urls']