From 301ac21f2a4b6032d05fba362d167bf182404ee6 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 30 Aug 2010 16:09:09 +0200 Subject: little fixes --- module/plugins/crypter/SerienjunkiesOrg.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'module/plugins/crypter/SerienjunkiesOrg.py') 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"}) -- cgit v1.2.3