How to Clone / Download / Mirror a Website using WGET

This is a quick and dirty way to clone, download or make a mirror of a website for offline reading. We only need WGET. It will download all images, CSS and Javascript files

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

By default, wget also has an option to do mirroring.

wget -m

In order to avoid your IP getting banned or blacklisted by the server, try to add this options:

--wait=9 --limit-rate=10K

Hope it helps. 🙂