Answers for "set cookie in python requests"

0

set cookie in python requests

import requests

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

r = requests.post('http://wikipedia.org', cookies=cookies)
Posted by: Guest on September-03-2021

Python Answers by Framework

Browse Popular Code Answers by Language