diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-03-10 14:45:01 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-03-10 14:45:01 +0100 |
commit | 48128ba5877268d79235ffc591c52a2c32044a1b (patch) | |
tree | 6d1f35a34cdaff690bfdd816cf1314406cfc01ad /module/plugins/hoster/NetloadIn.py | |
parent | several fixes, closed #84 (diff) | |
download | pyload-48128ba5877268d79235ffc591c52a2c32044a1b.tar.xz |
shareonline fix
Diffstat (limited to 'module/plugins/hoster/NetloadIn.py')
-rw-r--r-- | module/plugins/hoster/NetloadIn.py | 6 |
1 files changed, 4 insertions, 2 deletions
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: |