summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar zapp-brannigan <fuerst.reinje@web.de> 2014-07-27 19:26:52 +0200
committerGravatar Reiner Seyferth <reiner@debian> 2014-08-31 13:53:04 +0200
commitb0d0a28d0e35a825c6dc465bcc5963d93b2e4ef4 (patch)
treec12618dae85d5b95bcc16d96a66506c04f26acb2 /module/plugins
parent[Uploadable.ch] New hoster (diff)
downloadpyload-b0d0a28d0e35a825c6dc465bcc5963d93b2e4ef4.tar.xz
Update UploadableCh.py
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/UploadableCh.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/UploadableCh.py b/module/plugins/hoster/UploadableCh.py
index 9d44b17db..9e7396ee8 100644
--- a/module/plugins/hoster/UploadableCh.py
+++ b/module/plugins/hoster/UploadableCh.py
@@ -56,12 +56,12 @@ class UploadableCh(SimpleHoster):
# Submit the captcha solution
post_data = {"recaptcha_challenge_field": challenge, "recaptcha_response_field": code, "recaptcha_shortencode_field": file_id}
- c = self.load("http://www.uploadable.ch/checkReCaptcha.php", cookies=True, post=post_data, decode=True)
+ c = self.load(base_url+"/checkReCaptcha.php", cookies=True, post=post_data, decode=True)
time.sleep(3)
# Get ready for downloading
post_data = {"downloadLink": "show"}
- self.download(not_so_long_url, cookies=True, post=post_data, disposition=True)
+ self.load(not_so_long_url, cookies=True, post=post_data, disposition=True)
time.sleep(3)
# Download the file