Skip to content

Instantly share code, notes, and snippets.

@webuti
Last active May 6, 2022 08:50
Show Gist options
  • Save webuti/ada3233aea31b10c438e62893d7315df to your computer and use it in GitHub Desktop.
Save webuti/ada3233aea31b10c438e62893d7315df to your computer and use it in GitHub Desktop.
curl bulk file download with header
xargs -n 1 curl -O -J < urllist.txt -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' \
-H 'Accept-Language: tr-TR,tr;q=0.9,en;q=0.8,ja;q=0.7' \
-H 'Connection: keep-alive' \
-H 'Upgrade-Insecure-Requests: 1' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36' \
--compressed \
--insecure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment