Skip to content

Instantly share code, notes, and snippets.

@Dshosev
Created November 24, 2020 05:18
Show Gist options
  • Select an option

  • Save Dshosev/6414c64ceec2a302c43f26d3fbf876ee to your computer and use it in GitHub Desktop.

Select an option

Save Dshosev/6414c64ceec2a302c43f26d3fbf876ee to your computer and use it in GitHub Desktop.
this command will make website copy with wget from the terminal and put it into a folder with the url as a name. also it will change any necessary links and download static images and files. also it will rename the index.html file. this does not work with javascript lazy loaded content etc.
wget --mirror \
--convert-links \
--html-extension \
--wait=2 \
-o log \
https://yourdomain.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment