Download entire website for offline on Mac

Posted on 7/28/2016 @ 8:12 PM in #Apple by | Feedback | 2576 views

Sometimes you want to download a whole website (don’t ask me why), here is how you do this on a Mac.

First, do a brew install wget

With wget installed, run this command and party -

wget --recursive --no-clobber --page-requisites --html-extension --convert-links --restrict-file-names=windows -domains www.yourwebsite.com --no-parent www.yourwebsite.com/someurl

.. and wait patiently! Boom, the whole site is on your disk. You can expand the above to download files of only specific extensions, for instance, download all mp4’s from some page on channel9.msdn.com etc. Cool huh?

Sound off but keep it civil:

Older comments..