diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-12-29 11:44:24 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-12-29 11:44:24 +0100 |
commit | 31c5e0c1cbb6da955973bdce360eedbe61225688 (patch) | |
tree | 0170556dd7528723c803fb1c299199aca143ab24 /module/plugins/accounts/FileserveCom.py | |
parent | more fixes and chunk+resume debug (diff) | |
download | pyload-31c5e0c1cbb6da955973bdce360eedbe61225688.tar.xz |
fixed accounts
Diffstat (limited to 'module/plugins/accounts/FileserveCom.py')
-rw-r--r-- | module/plugins/accounts/FileserveCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/FileserveCom.py b/module/plugins/accounts/FileserveCom.py index 76fc485ed..7754de253 100644 --- a/module/plugins/accounts/FileserveCom.py +++ b/module/plugins/accounts/FileserveCom.py @@ -31,7 +31,7 @@ class FileserveCom(Account): def loadAccountInfo(self, user, req): - src = req.getPage("http://fileserve.com/dashboard.php", cookies=True) + src = req.load("http://fileserve.com/dashboard.php", cookies=True) m = re.search(r"<td><h4>Premium Until</h4></th> <td><h5>(.*?) E(.)T</h5></td>", src) if m: @@ -44,12 +44,12 @@ class FileserveCom(Account): def login(self, user, data, req): - html = req.getPage("http://fileserve.com/login.php", + html = req.load("http://fileserve.com/login.php", post={"loginUserName": user, "loginUserPassword": data["password"], "autoLogin": "on", "loginFormSubmit": "Login"}, cookies=True) if r'Please Enter a valid user name.' in html: self.wrongPassword() - req.getPage("http://fileserve.com/dashboard.php", cookies=True) + req.load("http://fileserve.com/dashboard.php", cookies=True) |