Re:Coursera-dl – A script for downloading course material fr...
by bloometal on Thursday August 22, 2013 @07:52PM
(#6260837)
This is awesome. But, does anyone know how to do this with `--save-cookies` command with wget?
[ Parent
| on HN ]
Re:Coursera-dl – A script for downloading course material fr...
by codygman on Thursday August 22, 2013 @08:01PM
(#6260883)
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.