python get cookie from browser

Solutions on MaxInterview for python get cookie from browser by the best coders in the world

showing results for - "python get cookie from browser"
Thiago
02 Feb 2018
1a_session = requests. Session()
2a_session. get('https://google.com/')
3session_cookies = a_session. cookies.
4cookies_dictionary = session_cookies. get_dict()
5print(cookies_dictionary)
6