I love to cook with wget. Here are some useful wget recipes I often use.
-
Don't Check the SSL Certificate (TLDR: Use
--no-check-certificate
argument) -
Make Wget Silent (TLDR: Use
-q
argument) -
Limit the Download Speed (TLDR: Use
--limit-rate 128k
(128KB/s) argument) -
Print the Response to Screen (TLDR: Use
-O -
argument) -
Print the Response Headers (TLDR: Use
-S
argument) -
Resume Interrupted Downloads (TLDR: Use
-c
argument) -
Download Multiple Files (TLDR: Use
-i list.txt
argument) -
Add a Referrer (TLDR: Use
--referer=URL
argument) -
Use HTTP Authentication (TLDR: Use
--user
and--password
arguments) -
Add Custom Headers (TLDR: Use
--header
argument) -
Use a Proxy (TLDR: Use
-e use_proxy=yes
and environment variables) -
Save File with a Different Name (TLDR: Use
-O filename
argument) -
Use a Download Directory (TLDR: Use
-P folder
argument) -
Reject Certain File Types (TLDR: Use
--reject
argument) -
Download in the Background (TLDR: Use
-b
argument) -
Mirror a Website (TLDR: Use
--mirror
argument)
Created by Browserling
This wget cookbook was created by me and my team at Browserling. We use recipes from this cookbook every day to get things done and improve our product. Browserling itself is an online cross-browser testing service powered by alien technology. Check it out!
Secret message: If you love my wget cookbook, then I love you, too! Use coupon code WGETLING to get a discount at my company.