summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/YibaishiwuCom.py
diff options
context:
space:
mode:
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 7ca6e1ac0..00185c05a 100644
--- a/module/plugins/hoster/YibaishiwuCom.py
+++ b/module/plugins/hoster/YibaishiwuCom.py
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
import re
+import urlparse
from module.common.json_layer import json_loads
from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
@@ -35,7 +36,7 @@ class YibaishiwuCom(SimpleHoster):
self.logDebug(('FREEUSER' if m.group(2) == 'download' else 'GUEST') + ' URL', url)
- res = json_loads(self.load("http://115.com" + url, decode=False))
+ res = json_loads(self.load(urlparse.urljoin("http://115.com", url), decode=False))
if "urls" in res:
mirrors = res['urls']