From 48128ba5877268d79235ffc591c52a2c32044a1b Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 10 Mar 2010 14:45:01 +0100 Subject: shareonline fix --- module/plugins/hoster/NetloadIn.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/NetloadIn.py') diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py index d0e5b89ba..3c959d0d5 100644 --- a/module/plugins/hoster/NetloadIn.py +++ b/module/plugins/hoster/NetloadIn.py @@ -102,8 +102,10 @@ class NetloadIn(Plugin): sleep(5) self.html[2] = self.req.load("http://netload.in/index.php?id=10", post={"file_id": file_id, "captcha_check": captcha}, cookies=True) - if re.search(r"(We will prepare your download..|We had a reqeust with the IP)", self.html[2]) != None: - break + if re.search(r"(We will prepare your download..|We had a request with the IP)", self.html[2]) != None: + return True + + raise Exception("Captcha not decrypted") def get_file_url(self): try: -- cgit v1.2.3