Answers for "how to get cookies from browser in python"

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 get cookies from browser in python"

Python Answers by Framework

Browse Popular Code Answers by Language