From 39546a4c7738eda3e56117e138ca2a4baa8e49c0 Mon Sep 17 00:00:00 2001 From: spoob Date: Sun, 20 Dec 2009 18:32:23 +0100 Subject: fixed shareonline, netload premium --- module/plugins/NetloadIn.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'module/plugins/NetloadIn.py') diff --git a/module/plugins/NetloadIn.py b/module/plugins/NetloadIn.py index e90124f10..72f45e542 100644 --- a/module/plugins/NetloadIn.py +++ b/module/plugins/NetloadIn.py @@ -44,6 +44,7 @@ class NetloadIn(Plugin): pyfile.status.filename = self.get_file_name() if self.config['premium']: + self.req.load("http://netload.in/index.php", None, { "txtuser" : self.config['username'], "txtpass" : self.config['password'], "txtcheck" : "login", "txtlogin" : ""}) self.logger.info("Netload: Use Premium Account") pyfile.status.url = self.parent.url #@TODO: premium?? @@ -81,9 +82,6 @@ class NetloadIn(Plugin): self.api_data["exists"] = False def download_html(self): - #~ if self.config['premium']: - #~ self.config['username'], self.config['password'] - #~ self.req.load("http://netload.in/index.php", None, { "txtuser" : self.config['username'], "txtpass" : self.config['password'], "txtcheck" : "login", "txtlogin" : ""}) self.html[0] = self.req.load(self.parent.url, cookies=True) url_captcha_html = "http://netload.in/" + re.search('(index.php\?id=10&.*&captcha=1)', self.html[0]).group(1).replace("amp;", "") for i in range(6): -- cgit v1.2.3