summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/Keep2ShareCc.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/Keep2ShareCc.py')
-rw-r--r--pyload/plugin/hoster/Keep2ShareCc.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/hoster/Keep2ShareCc.py b/pyload/plugin/hoster/Keep2ShareCc.py
index 59e5f5c79..05dafffa8 100644
--- a/pyload/plugin/hoster/Keep2ShareCc.py
+++ b/pyload/plugin/hoster/Keep2ShareCc.py
@@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
import re
-
-from urlparse import urljoin
+import urlparse
from pyload.plugin.captcha.ReCaptcha import ReCaptcha
from pyload.plugin.internal.SimpleHoster import SimpleHoster
@@ -100,7 +99,7 @@ class Keep2ShareCc(SimpleHoster):
m = re.search(self.CAPTCHA_PATTERN, self.html)
self.logDebug("CAPTCHA_PATTERN found %s" % m)
if m:
- captcha_url = urljoin("http://keep2s.cc/", m.group(1))
+ captcha_url = urlparse.urljoin("http://keep2s.cc/", m.group(1))
post_data['CaptchaForm[code]'] = self.decryptCaptcha(captcha_url)
else:
recaptcha = ReCaptcha(self)