summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/ZippyshareCom.py
diff options
context:
space:
mode:
authorGravatar sebdelsol <seb.morin@gmail.com> 2014-12-12 15:45:21 +0100
committerGravatar sebdelsol <seb.morin@gmail.com> 2014-12-12 15:45:21 +0100
commit50f3fd2fad476184b2e64eb66319292c02ed68c2 (patch)
treee39b15200a40bcd57e7760fd5bbb8a7ec93c1bce /module/plugins/hoster/ZippyshareCom.py
parent[DebridItaliaCom] Typo fixup (diff)
downloadpyload-50f3fd2fad476184b2e64eb66319292c02ed68c2.tar.xz
Update ZippyshareCom.py
#bug correction : bad download url that is rejected with a 400 html error. change p_url creation to use '/'.join() instead of os.path.join() that doesn't work for an url.
Diffstat (limited to 'module/plugins/hoster/ZippyshareCom.py')
-rw-r--r--module/plugins/hoster/ZippyshareCom.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/hoster/ZippyshareCom.py b/module/plugins/hoster/ZippyshareCom.py
index 3edf3c5c1..69be6833c 100644
--- a/module/plugins/hoster/ZippyshareCom.py
+++ b/module/plugins/hoster/ZippyshareCom.py
@@ -2,7 +2,6 @@
import re
-from os.path import join
from urlparse import urljoin
from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
@@ -57,7 +56,7 @@ class ZippyshareCom(SimpleHoster):
def get_link(self):
checksum = self.get_checksum()
- p_url = join("d", self.info['pattern']['KEY'], str(checksum), self.pyfile.name)
+ p_url = '/'.join(("d", self.info['pattern']['KEY'], str(checksum), self.pyfile.name))
dl_link = urljoin(self.info['pattern']['HOST'], p_url)
return dl_link