diff options
author | zoidberg10 <zoidberg@mujmail.cz> | 2012-08-13 20:53:46 +0200 |
---|---|---|
committer | zoidberg10 <zoidberg@mujmail.cz> | 2012-08-13 20:53:46 +0200 |
commit | b6a56f0f36c7b4d6a1582a072430b35848315fee (patch) | |
tree | 9cb36e5ae66f8ab110ce8ad15b666acc2ccbcc2f /module/plugins/internal/XFSPAccount.py | |
parent | update depositfiles, easybytes, add ryushare (diff) | |
download | pyload-b6a56f0f36c7b4d6a1582a072430b35848315fee.tar.xz |
update multishare account, xfilesharingpro
Diffstat (limited to 'module/plugins/internal/XFSPAccount.py')
-rw-r--r-- | module/plugins/internal/XFSPAccount.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/internal/XFSPAccount.py b/module/plugins/internal/XFSPAccount.py index 76bbfb9fe..c41dbb3a9 100644 --- a/module/plugins/internal/XFSPAccount.py +++ b/module/plugins/internal/XFSPAccount.py @@ -25,7 +25,7 @@ from module.utils import parseFileSize class XFSPAccount(Account): __name__ = "XFSPAccount" - __version__ = "0.03" + __version__ = "0.04" __type__ = "account" __description__ = """XFileSharingPro account base""" __author_name__ = ("zoidberg") @@ -66,8 +66,6 @@ class XFSPAccount(Account): html = req.load('%slogin.html' % self.MAIN_PAGE, decode = True) action, inputs = parseHtmlForm('name="FL"', html) - if not action: - action = self.MAIN_PAGE if not inputs: inputs = {"op": "login", "redirect": self.MAIN_PAGE} @@ -75,7 +73,7 @@ class XFSPAccount(Account): inputs.update({"login": user, "password": data['password']}) - html = req.load(action, post = inputs, decode = True) + html = req.load(self.MAIN_PAGE, post = inputs, decode = True) if 'Incorrect Login or Password' in html or '>Error<' in html: self.wrongPassword()
\ No newline at end of file |