summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/DepositfilesCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/DepositfilesCom.py')
-rw-r--r--module/plugins/hoster/DepositfilesCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/DepositfilesCom.py b/module/plugins/hoster/DepositfilesCom.py
index 621d73151..06630d763 100644
--- a/module/plugins/hoster/DepositfilesCom.py
+++ b/module/plugins/hoster/DepositfilesCom.py
@@ -58,15 +58,15 @@ class DepositfilesCom(SimpleHoster):
self.check_errors()
- recaptcha = ReCaptcha(pyfile)
- captcha_key = recaptcha.detect_key()
+ self.captcha = ReCaptcha(pyfile)
+ captcha_key = self.captcha.detect_key()
if captcha_key is None:
return
self.data = self.load("https://dfiles.eu/get_file.php", get=params)
if '<input type=button value="Continue" onclick="check_recaptcha' in self.data:
- params['response'], params['challenge'] = recaptcha.challenge(captcha_key)
+ params['response'], params['challenge'] = self.captcha.challenge(captcha_key)
self.data = self.load("https://dfiles.eu/get_file.php", get=params)
m = re.search(self.LINK_FREE_PATTERN, self.data)