Hacker News new | ask | show | jobs
by bloometal 4689 days ago
This is awesome. But, does anyone know how to do this with `--save-cookies` command with wget?
1 comments

I remember crafting something similar along the lines of this (incorrect argument names almost assuredly):

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.