Answers for "how to obtain cookie info for python request"

0

python get cookie from browser

a_session = requests. Session()
a_session. get('https://google.com/')
session_cookies = a_session. cookies.
cookies_dictionary = session_cookies. get_dict()
print(cookies_dictionary)
Posted by: Guest on June-02-2021

Code answers related to "how to obtain cookie info for python request"

Python Answers by Framework

Browse Popular Code Answers by Language