x = requests.post(url, data=data) print x.cookies
I used the requests library to get some cookies from a website, but I can only get the cookies fr
If you need the path and thedomain for each cookie, which get_dict() is not exposes, you can parse the cookies manually, for instance:
path
domain
get_dict()
[ {'name': c.name, 'value': c.value, 'domain': c.domain, 'path': c.path} for c in session.cookies ]