You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.
del = logout = lambda self:self.open('im/index/logoutsubmit.action')
def open(self,url,data=''):
html = self.opener.open(Request('http://f.10086.cn/%s' % url,urlencode(data))).read()
if '登录' in html and '您正在登录中国移动WAP飞信' not in html: raise FetionNotLogin()
return html
del = logout = lambda self:self.open('im/index/logoutsubmit.action')
def open(self,url,data=''):
html = self.opener.open(Request('http://f.10086.cn/%s' % url,urlencode(data))).read()
if '登录' in html and '您正在登录中国移动WAP飞信' not in html: raise FetionNotLogin()
return html
退出试用的open和登录的一样。。。
logout 会 raise FetionNotLogin()
The text was updated successfully, but these errors were encountered: