summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/IfolderRu.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/IfolderRu.py')
-rw-r--r--module/plugins/hoster/IfolderRu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/IfolderRu.py b/module/plugins/hoster/IfolderRu.py
index 5cd2c6618..457bd6962 100644
--- a/module/plugins/hoster/IfolderRu.py
+++ b/module/plugins/hoster/IfolderRu.py
@@ -49,13 +49,13 @@ class IfolderRu(SimpleHoster):
captcha_url = "http://ints.rusfolder.com/random/images/?session=%s" % session_id
for _i in xrange(5):
action, inputs = self.parse_html_form('id="download-step-one-form"')
- inputs['confirmed_number'] = self.decrypt_captcha(captcha_url, cookies=True)
+ inputs['confirmed_number'] = self.captcha.decrypt_image(captcha_url, cookies=True)
inputs['action'] = '1'
self.log_debug(inputs)
self.html = self.load(url, post=inputs)
if self.WRONG_CAPTCHA_PATTERN in self.html:
- self.invalid_captcha()
+ self.captcha.invalid()
else:
break
else: