Skip to content

Instantly share code, notes, and snippets.

@Lukas238
Last active July 5, 2018 18:10
Show Gist options
  • Select an option

  • Save Lukas238/b27fed6df97696fa71c2bf351f04f0e5 to your computer and use it in GitHub Desktop.

Select an option

Save Lukas238/b27fed6df97696fa71c2bf351f04f0e5 to your computer and use it in GitHub Desktop.
Download a site as a static site using WGET

Download a site as a static site using WGET

$ wget -mnH -k --html-extension [SITE URL HERE]

This will download all the files in to the current folder.

Comments

Some minor file renaming may be needed.

Windows

On Windows you can use Ant Renamer.

Download the installer or install with Chocolately package manager:

C:\>choco install ant-renamer

Mac

On Mac you can use NameChanger.

Download the installer or install with Homebrew package manager:

$  brew cask install namechanger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment