If you want to get those coockies you can use this python script:
https://drive.google.com/file/d/0B0d...ew?usp=sharing
Pass cid as argument and will get what you need.
Also can be simply edited to generate whole record command returning url and coockies in a format which fit livestreamer or whatever you use to record.