diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-18 21:28:39 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-18 21:28:39 +0200 |
commit | f34aec9d70f48200c0e46db476dff9ee06357707 (patch) | |
tree | 1b272c8dd71df1a6297a4882324f266b23ed65ff /module/plugins | |
parent | closed #158 (diff) | |
download | pyload-f34aec9d70f48200c0e46db476dff9ee06357707.tar.xz |
new ip retrieve
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/accounts/NetloadIn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/NetloadIn.py b/module/plugins/accounts/NetloadIn.py index 957435b46..4f5b08689 100644 --- a/module/plugins/accounts/NetloadIn.py +++ b/module/plugins/accounts/NetloadIn.py @@ -36,7 +36,7 @@ class NetloadIn(Account): validuntil = time() + int(left.group(1)) * 24 * 60 * 60 + int(left.group(2)) * 60 * 60 return {"validuntil": validuntil, "trafficleft": -1} - def login(self, user, req): + def login(self, user, data,req): page = req.load("http://netload.in/index.php", None, { "txtuser" : user, "txtpass" : data['password'], "txtcheck" : "login", "txtlogin" : ""}, cookies=True) if "password or it might be invalid!" in page: self.wrongPassword() |