by bloometal · 13y ago · 0 comments
curl $url_that_has_cookies -c -
That will save the cookies to stdout, and IIRC you can pipe them to curl. I've done similar stuff with wget along the lines of just saving the cookies and then loading them within a single command.