📜  python从浏览器获取cookie - Python代码示例

📅  最后修改于: 2022-03-11 14:45:29.973000             🧑  作者: Mango

代码示例1
a_session = requests. Session()
a_session. get('https://google.com/')
session_cookies = a_session. cookies.
cookies_dictionary = session_cookies. get_dict()
print(cookies_dictionary)