1>>> import requests
2>>> session = requests.Session()
3>>> response = session.get('http://google.com')
4>>> print(session.cookies.get_dict())
5{'PREF': 'ID=5514c728c9215a9a:FF=0:TM=1406958091:LM=1406958091:S=KfAG0U9jYhrB0XNf', 'NID': '67=TVMYiq2wLMNvJi5SiaONeIQVNqxSc2RAwVrCnuYgTQYAHIZAGESHHPL0xsyM9EMpluLDQgaj3db_V37NjvshV-eoQdA8u43M8UwHMqZdL-S2gjho8j0-Fe1XuH5wYr9v'}
6
1//Python requests get all cookies:
2
3If you need the path and thedomain for each cookie, which get_dict() is not exposes, you can parse the cookies manually, for instance:
4
5[
6 {'name': c.name, 'value': c.value, 'domain': c.domain, 'path': c.path}
7 for c in session.cookies
8]