diff options
Diffstat (limited to 'module/plugins/accounts/YibaishiwuCom.py')
-rw-r--r-- | module/plugins/accounts/YibaishiwuCom.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/module/plugins/accounts/YibaishiwuCom.py b/module/plugins/accounts/YibaishiwuCom.py index fad22b4c6..dd4e33739 100644 --- a/module/plugins/accounts/YibaishiwuCom.py +++ b/module/plugins/accounts/YibaishiwuCom.py @@ -30,10 +30,11 @@ class YibaishiwuCom(Account): def login(self, user, data, req): html = self.load("https://passport.115.com/?ac=login", - post={"back": "http://www.115.com/", - "goto": "http://115.com/", - "login[account]": user, - "login[passwd]": data['password']}, req=req) + post={"back" : "http://www.115.com/", + "goto" : "http://115.com/", + "login[account]": user, + "login[passwd]" : data['password']}, + req=req) if not 'var USER_PERMISSION = {' in html: self.wrong_password() |