📜  python请求设置标头cookie - Python代码示例

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

代码示例1
import requests

cookies = {'enwiki_session': '17ab96bd8ffbe8ca58a78657a918558'}

r = requests.post('http://wikipedia.org', cookies=cookies)