diff options
author | zoidberg10 <zoidberg@mujmail.cz> | 2012-08-23 20:45:43 +0200 |
---|---|---|
committer | zoidberg10 <zoidberg@mujmail.cz> | 2012-08-23 20:45:43 +0200 |
commit | bd69cce998b00cabeb253f8eb02307aff9339385 (patch) | |
tree | e951e2e12e79cafa5233b9fa7232b85ad41cef5e /module/plugins/accounts/RyushareCom.py | |
parent | Fixed Jumbofiles closed #660 (diff) | |
download | pyload-bd69cce998b00cabeb253f8eb02307aff9339385.tar.xz |
update ryushare.com - thx trance4us
Diffstat (limited to 'module/plugins/accounts/RyushareCom.py')
-rw-r--r-- | module/plugins/accounts/RyushareCom.py | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/module/plugins/accounts/RyushareCom.py b/module/plugins/accounts/RyushareCom.py index 8eb0d3571..055680ea0 100644 --- a/module/plugins/accounts/RyushareCom.py +++ b/module/plugins/accounts/RyushareCom.py @@ -3,10 +3,15 @@ from module.plugins.internal.XFSPAccount import XFSPAccount class RyushareCom(XFSPAccount): __name__ = "RyushareCom" - __version__ = "0.01" + __version__ = "0.02" __type__ = "account" __description__ = """ryushare.com account plugin""" - __author_name__ = ("zoidberg") - __author_mail__ = ("zoidberg@mujmail.cz") + __author_name__ = ("zoidberg", "trance4us") + __author_mail__ = ("zoidberg@mujmail.cz", "") - MAIN_PAGE = "http://ryushare.com/"
\ No newline at end of file + MAIN_PAGE = "http://ryushare.com/" + + def login(self, user, data, req): + html = req.load("http://ryushare.com/login.python", post={"login": user, "password": data["password"], "op": "login"}) + if 'Incorrect Login or Password' in html or '>Error<' in html: + self.wrongPassword()
\ No newline at end of file |