Sunday, March 26, 2017

Download a website using wget

Sometimes, you wish you had an offline copy of a web site, especially a reference web site, so that you can read it and refer to it at your leisure.

You can do this using the linux wget command:

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

No comments: