Download an entire website with wget

jasper - 2 years ago (last modified 2 years ago)

wget \
   --recursive \
   --no-clobber \
   --page-requisites \
   --html-extension \
   --convert-links \
   --restrict-file-names=windows \
   --domains \
   --no-parent \

This perfectly downloads an entire website including all scripts, stylesheets etc and even adjust the links so it works everywhere. Just open the downloaded folder, load up `index.html` in your browser and you can browse the entire website locally.

joe - 2 years ago | thread

cool, didn't know this was possible with wget..

tseting - 2 years ago | thread