+ 1

Python Request

Am creating a bot for instagram but after i send a get request to instagram.com i can not get the cookies. I wanna get csrftoken from cookies but when i do res.cookies.get_dict() i get only an empty dict. Cookies are beeing set with set-cookie

19th Jan 2021, 2:45 PM
Rei
Rei - avatar
2 Answers
+ 1
If you're using the requests library in Python, it should just be result.cookies
23rd Jan 2021, 3:37 AM
George Ryan
George Ryan - avatar
0
George Ryan Yeh man i know but it was not. There was no cookies. Anyway i found the solution. Thank you. ❀
23rd Jan 2021, 9:28 AM
Rei
Rei - avatar