How to download a web site with specific cookies set?

I want to download a site with specific cookies set. I tried SiteSucker but found there are no options to set headers. So I could not set a cookie.

Are there other Mac tools or apps I can use?


You can use curl in Terminal for this. Besides man curl there is a tutorial available explaining the different usage scenarios. To set/use cookies you can use either

curl -b "sessionID=123456789" www.example.com

to set a cookie value directly, or use the --dump-headers, -c and -b options for more elaborate cases.