Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # import the requests library
- import requests
- # initialize a session
- session = requests.Session()
- # send a get request to the server
- response = session.get('https://www.tastefullysimple.com/')
- # print the response dictionary
- print(session.cookies.get_dict())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement