summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/NetloadIn.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-03-10 14:45:01 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-03-10 14:45:01 +0100
commit48128ba5877268d79235ffc591c52a2c32044a1b (patch)
tree6d1f35a34cdaff690bfdd816cf1314406cfc01ad /module/plugins/hoster/NetloadIn.py
parentseveral fixes, closed #84 (diff)
downloadpyload-48128ba5877268d79235ffc591c52a2c32044a1b.tar.xz
shareonline fix
Diffstat (limited to 'module/plugins/hoster/NetloadIn.py')
-rw-r--r--module/plugins/hoster/NetloadIn.py6
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: