diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-30 16:09:09 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-30 16:09:09 +0200 |
commit | 301ac21f2a4b6032d05fba362d167bf182404ee6 (patch) | |
tree | 71def1385a5c35d53994e95fac074b91d0eeafc5 /module/plugins/crypter | |
parent | encoding fixes (diff) | |
download | pyload-301ac21f2a4b6032d05fba362d167bf182404ee6.tar.xz |
little fixes
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r-- | module/plugins/crypter/SerienjunkiesOrg.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/module/plugins/crypter/SerienjunkiesOrg.py b/module/plugins/crypter/SerienjunkiesOrg.py index 6a7d976ab..cfd505db8 100644 --- a/module/plugins/crypter/SerienjunkiesOrg.py +++ b/module/plugins/crypter/SerienjunkiesOrg.py @@ -5,7 +5,6 @@ import re from module.plugins.Crypter import Crypter from module.BeautifulSoup import BeautifulSoup from module.unescape import unescape -from module.plugins.Plugin import Fail class SerienjunkiesOrg(Crypter): __name__ = "SerienjunkiesOrg" @@ -135,8 +134,7 @@ class SerienjunkiesOrg(Crypter): form = soup.find("form", attrs={"action":re.compile("^http://serienjunkies.org")}) captchaTag = form.find(attrs={"src":re.compile("^/safe/secure/")}) captchaUrl = "http://serienjunkies.org"+captchaTag["src"] - captchaData = self.req.load(str(captchaUrl)) - result = self.waitForCaptcha(captchaData, "png") + result = self.decryptCaptcha(str(captchaUrl)) url = form["action"] sinp = form.find(attrs={"name":"s"}) |