python session set cookies

Solutions on MaxInterview for python session set cookies by the best coders in the world

showing results for - "python session set cookies"
Alonso
09 Oct 2016
1import requests
2s = requests.session()
3s.cookies.set("COOKIE_NAME", "the cookie works", domain="example.com")
4# Domain is optinal