From c923c14901a2e9215c42f072607a1cc3ffe675ab Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 4 Aug 2010 14:40:38 +0200 Subject: some fixes --- module/plugins/hoster/NetloadIn.py | 1 + 1 file changed, 1 insertion(+) (limited to 'module/plugins/hoster/NetloadIn.py') diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py index a374a0c4d..9d3b0d387 100644 --- a/module/plugins/hoster/NetloadIn.py +++ b/module/plugins/hoster/NetloadIn.py @@ -92,6 +92,7 @@ class NetloadIn(Hoster): try: captcha_url = "http://netload.in/" + re.search('(share/includes/captcha.php\?t=\d*)', self.html[1]).group(1) except: + open("dump.html", "w").write(self.html[1]) url_captcha_html = "http://netload.in/" + re.search('(index.php\?id=10&.*&captcha=1)', self.html[1]).group(1).replace("amp;", "") self.html[1] = self.load(url_captcha_html, cookies=True) captcha_url = "http://netload.in/" + re.search('(share/includes/captcha.php\?t=\d*)', self.html[1]).group(1) -- cgit v1.2.3