diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-01-22 21:31:19 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-01-22 21:31:19 +0100 |
commit | cf4ded052964047de88d676045329b8fa4fca2dc (patch) | |
tree | 5864aad4f34b273044018393b6bb9be690162050 /module/plugins/hoster/NetloadIn.py | |
parent | [CaptchaService] Merge together ReCaptcha versions (diff) | |
download | pyload-cf4ded052964047de88d676045329b8fa4fca2dc.tar.xz |
Update plugins after CaptchaService changes
Diffstat (limited to 'module/plugins/hoster/NetloadIn.py')
-rw-r--r-- | module/plugins/hoster/NetloadIn.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py index 35c814656..44f45696f 100644 --- a/module/plugins/hoster/NetloadIn.py +++ b/module/plugins/hoster/NetloadIn.py @@ -62,7 +62,7 @@ def getInfo(urls): class NetloadIn(Hoster): __name__ = "NetloadIn" __type__ = "hoster" - __version__ = "0.47" + __version__ = "0.48" __pattern__ = r'https?://(?:[^/]*\.)?netload\.in/(?:datei(.*?)(?:\.htm|/)|index\.php?id=10&file_id=)' @@ -235,7 +235,7 @@ class NetloadIn(Hoster): recaptcha = ReCaptcha(self) for _i in xrange(5): - challenge, response = recaptcha.challenge() + response, challenge = recaptcha.challenge() response_page = self.load("http://www.netload.in/index.php?id=10", post={'captcha_check' : '1', @@ -254,7 +254,7 @@ class NetloadIn(Hoster): download_url = self.get_file_url(response_page) self.logDebug("Download URL after get_file: " + download_url) if not download_url.startswith("http://"): - self.error("download url: %s" % download_url) + self.error(_("Download url: %s") % download_url) self.wait() self.url = download_url |