diff options
author | Pedro Algarvio <pedro@algarvio.me> | 2012-01-18 08:07:11 +0100 |
---|---|---|
committer | Pedro Algarvio <pedro@algarvio.me> | 2012-01-18 08:07:11 +0100 |
commit | 3956327aa3ba0db902bfcf079420642fb7d2546d (patch) | |
tree | f57a2615e110dc0de58863999be48e2707fbb6a6 | |
parent | Support file hosters under maintenance and generated links spans. (diff) | |
download | pyload-3956327aa3ba0db902bfcf079420642fb7d2546d.tar.xz |
Fix Oron Account plugin `loadAccountInfo` signature
-rwxr-xr-x | module/plugins/accounts/OronCom.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/accounts/OronCom.py b/module/plugins/accounts/OronCom.py index 793984121..174b5a0d9 100755 --- a/module/plugins/accounts/OronCom.py +++ b/module/plugins/accounts/OronCom.py @@ -23,13 +23,13 @@ from time import strptime, mktime class OronCom(Account): __name__ = "OronCom" - __version__ = "0.12" + __version__ = "0.13" __type__ = "account" __description__ = """oron.com account plugin""" __author_name__ = ("DHMH") __author_mail__ = ("DHMH@pyload.org") - def loadAccountInfo(self, user, req): + def loadAccountInfo(self, req): req.load("http://oron.com/?op=change_lang&lang=german") src = req.load("http://oron.com/?op=my_account").replace("\n", "") validuntil = re.search(r"<td>Premiumaccount läuft bis:</td>\s*<td>(.*?)</td>", src) @@ -52,3 +52,4 @@ class OronCom(Account): page = req.load("http://oron.com/login", post={"login": user, "password": data["password"], "op": "login"}) if r'<b class="err">Login oder Passwort falsch</b>' in page: self.wrongPassword() + |