summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/account/YibaishiwuCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/account/YibaishiwuCom.py')
-rw-r--r--pyload/plugins/account/YibaishiwuCom.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/pyload/plugins/account/YibaishiwuCom.py b/pyload/plugins/account/YibaishiwuCom.py
index e9fe0facf..d9a9f37ca 100644
--- a/pyload/plugins/account/YibaishiwuCom.py
+++ b/pyload/plugins/account/YibaishiwuCom.py
@@ -6,12 +6,13 @@ from pyload.plugins.base.Account import Account
class YibaishiwuCom(Account):
- __name__ = "YibaishiwuCom"
- __type__ = "account"
+ __name__ = "YibaishiwuCom"
+ __type__ = "account"
__version__ = "0.01"
__description__ = """115.com account plugin"""
- __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
+ __license__ = "GPLv3"
+ __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
ACCOUNT_INFO_PATTERN = r'var USER_PERMISSION = {(.*?)}'
@@ -26,6 +27,7 @@ class YibaishiwuCom(Account):
validuntil = trafficleft = (-1 if m else 0)
return dict({"validuntil": validuntil, "trafficleft": trafficleft, "premium": premium})
+
def login(self, user, data, req):
html = req.load('http://passport.115.com/?ac=login', post={
"back": "http://www.115.com/",