diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-29 20:05:07 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-29 20:05:07 +0200 |
commit | ec6e5dc7fcdcefee10e37d22473c9accae1104cf (patch) | |
tree | d19824c0223b083d5b4256530443165cfabb7a04 /module/plugins/accounts/MegasharesCom.py | |
parent | Merge pull request #1850 from chaosblog/patch-2 (diff) | |
download | pyload-ec6e5dc7fcdcefee10e37d22473c9accae1104cf.tar.xz |
Account class completely rewritten + plugins updated
Diffstat (limited to 'module/plugins/accounts/MegasharesCom.py')
-rw-r--r-- | module/plugins/accounts/MegasharesCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/MegasharesCom.py b/module/plugins/accounts/MegasharesCom.py index da8d6d62f..6967a7502 100644 --- a/module/plugins/accounts/MegasharesCom.py +++ b/module/plugins/accounts/MegasharesCom.py @@ -9,7 +9,7 @@ from module.plugins.internal.Account import Account class MegasharesCom(Account): __name__ = "MegasharesCom" __type__ = "account" - __version__ = "0.06" + __version__ = "0.07" __status__ = "testing" __description__ = """Megashares.com account plugin""" @@ -20,7 +20,7 @@ class MegasharesCom(Account): VALID_UNTIL_PATTERN = r'<p class="premium_info_box">Period Ends: (\w{3} \d{1,2}, \d{4})</p>' - def grab_info(self, user, password, data, req): + def grab_info(self, user, password, data): # self.relogin(user) html = self.load("http://d01.megashares.com/myms.php") @@ -38,7 +38,7 @@ class MegasharesCom(Account): return {'validuntil': validuntil, 'trafficleft': -1, 'premium': premium} - def login(self, user, password, data, req): + def signin(self, user, password, data): html = self.load('http://d01.megashares.com/myms_login.php', post={'httpref' : "", 'myms_login' : "Login", |