Wget save session equivalence

I am creating a script that should work on the MAC, and I would like to find out the equivalence of the following command line with the curl command:

wget --keep-session-cookies --load-cookies=cookies.txt --referer=website.com http://website.com/folder/$count

Thanks in advance.

+5
source share
1 answer

Try the following:

curl -b cookies.txt -c cookies.txt -e website.com http://website.com/folder/$count
+12
source

All Articles