cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Enable javascript with curl

From: Christopher Stone <listmeister_at_thestoneforge.com>
Date: Sat, 14 May 2016 03:58:45 -0500

On May 13, 2016, at 09:56, Doug McNutt <douglist_at_macnauchtan.com> wrote:
> So: Redirecting curl's stdout to a new file is not always the same as asking for a file to be saved in a home directory.
______________________________________________________________________

Hey Doug,

All of these produce identical files on my system:

curl https://support.apple.com/fr-fr/HT1582 >> ~/Downloads/test.html
cd ~/Downloads;
curl --remote-name-all -Ls --user-agent 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17' https://support.apple.com/fr-fr/HT1582;
curl https://support.apple.com/fr-fr/HT1582 -o test2.html

--
Take Care,
Chris
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ:        https://curl.haxx.se/docs/faq.html
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-05-14