Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试过了:
login_data_2['_sn'] = s.__attrs__[1]
但这没有用。pydoc 具有以下内容:
__attrs__ = ['headers', 'cookies', 'auth', 'timeout', 'proxies', 'hook..
使用 Python 请求:会话、Cookie 和 POST
login_data_2['_sn'] = s.cookies['_sn']