diff options
author | spoob <spoob@gmx.de> | 2009-12-20 18:32:23 +0100 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2009-12-20 18:32:23 +0100 |
commit | 39546a4c7738eda3e56117e138ca2a4baa8e49c0 (patch) | |
tree | e40e3903a4fe3158797860070495630b31b04c2c | |
parent | gui can return to connection manager, new collector (diff) | |
download | pyload-39546a4c7738eda3e56117e138ca2a4baa8e49c0.tar.xz |
fixed shareonline, netload premium
-rw-r--r-- | module/plugins/NetloadIn.py | 4 | ||||
-rw-r--r-- | module/plugins/ShareonlineBiz.py | 2 | ||||
-rw-r--r-- | module/web/pyload.db | bin | 41984 -> 45056 bytes |
3 files changed, 2 insertions, 4 deletions
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): diff --git a/module/plugins/ShareonlineBiz.py b/module/plugins/ShareonlineBiz.py index 1b1eb6e27..b9a9accef 100644 --- a/module/plugins/ShareonlineBiz.py +++ b/module/plugins/ShareonlineBiz.py @@ -67,7 +67,7 @@ class ShareonlineBiz(Plugin): def download_html(self): if self.config['premium']: - post_vars = {ct": "login", + post_vars = {"act": "login", "location": "service.php", "dieseid": "", "user": self.config['username'], diff --git a/module/web/pyload.db b/module/web/pyload.db Binary files differindex 3305b02ef..57d9bc73c 100644 --- a/module/web/pyload.db +++ b/module/web/pyload.db |