Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python session set cookies

import requests
s = requests.session()
s.cookies.set("COOKIE_NAME", "the cookie works", domain="example.com")
# Domain is optinal
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #session #set #cookies
ADD COMMENT
Topic
Name
7+3 =