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-certificateargument) -
Make Wget Silent (TLDR: Use
-qargument) -
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
-Sargument) -
Resume Interrupted Downloads (TLDR: Use
-cargument) -
Download Multiple Files (TLDR: Use
-i list.txtargument) -
Add a Referrer (TLDR: Use
--referer=URLargument) -
Use HTTP Authentication (TLDR: Use
--userand--passwordarguments) -
Add Custom Headers (TLDR: Use
--headerargument) -
Use a Proxy (TLDR: Use
-e use_proxy=yesand environment variables) -
Save File with a Different Name (TLDR: Use
-O filenameargument) -
Use a Download Directory (TLDR: Use
-P folderargument) -
Reject Certain File Types (TLDR: Use
--rejectargument) -
Download in the Background (TLDR: Use
-bargument) -
Mirror a Website (TLDR: Use
--mirrorargument)
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.
