diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-20 18:43:15 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-27 22:46:01 +0100 |
commit | 5deded62d94c04be64d34f6b67d07803eea9b6bf (patch) | |
tree | a33f82a6208b3a922bf5e1883f134a1fb86a9217 /module/plugins/hoster/LoadTo.py | |
parent | Update addons (diff) | |
download | pyload-5deded62d94c04be64d34f6b67d07803eea9b6bf.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/LoadTo.py')
-rw-r--r-- | module/plugins/hoster/LoadTo.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/LoadTo.py b/module/plugins/hoster/LoadTo.py index af5032b00..d33f1c9ef 100644 --- a/module/plugins/hoster/LoadTo.py +++ b/module/plugins/hoster/LoadTo.py @@ -57,12 +57,12 @@ class LoadTo(SimpleHoster): if m is not None: self.wait(m.group(1)) - #: Load.to is using solvemedia captchas since ~july 2014: - solvemedia = SolveMedia(pyfile) - captcha_key = solvemedia.detect_key() + #: Load.to is using SolveMedia captchas since ~july 2014: + self.captcha = SolveMedia(pyfile) + captcha_key = self.captcha.detect_key() if captcha_key: - response, challenge = solvemedia.challenge(captcha_key) + response, challenge = self.captcha.challenge(captcha_key) self.download(self.link, post={'adcopy_challenge': challenge, 'adcopy_response' : response, |