How do I read back all of the cookies in Python without knowing their names?
Look at the Cookie: headers in the HTTP response you get, parse their contents with module Cookie in the standard library.
Retrieving all Cookies in Python