summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/RyushareCom.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-09-10 23:56:19 +0200
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-09-10 23:56:19 +0200
commit358db22de830b6976d085b7f44fb6058816eb5a1 (patch)
tree5086162afba0819674aba980f12221451e49432e /module/plugins/accounts/RyushareCom.py
parentadd UnSkipOnFail hook (diff)
downloadpyload-358db22de830b6976d085b7f44fb6058816eb5a1.tar.xz
fix turbobit with ossp-js, ryushare, easybytez - thx trance4us, ChriZathens
Diffstat (limited to 'module/plugins/accounts/RyushareCom.py')
-rw-r--r--module/plugins/accounts/RyushareCom.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/accounts/RyushareCom.py b/module/plugins/accounts/RyushareCom.py
index 055680ea0..f734eb11b 100644
--- a/module/plugins/accounts/RyushareCom.py
+++ b/module/plugins/accounts/RyushareCom.py
@@ -3,7 +3,7 @@ from module.plugins.internal.XFSPAccount import XFSPAccount
class RyushareCom(XFSPAccount):
__name__ = "RyushareCom"
- __version__ = "0.02"
+ __version__ = "0.03"
__type__ = "account"
__description__ = """ryushare.com account plugin"""
__author_name__ = ("zoidberg", "trance4us")
@@ -12,6 +12,7 @@ class RyushareCom(XFSPAccount):
MAIN_PAGE = "http://ryushare.com/"
def login(self, user, data, req):
+ req.lastURL = "http://ryushare.com/login.python"
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