Skip to content

Instantly share code, notes, and snippets.

@jasperfrontend
Created April 30, 2020 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasperfrontend/bc07aab761045bdd26b161016cc4bb9f to your computer and use it in GitHub Desktop.
Save jasperfrontend/bc07aab761045bdd26b161016cc4bb9f to your computer and use it in GitHub Desktop.
Download an entire website with wget
wget \
     --recursive \
     --no-clobber \
     --page-requisites \
     --html-extension \
     --convert-links \
     --restrict-file-names=windows \
     --domains WEBSITE.nl \
     --no-parent \
         www.WEBSITE.nl
@jasperfrontend
Copy link
Author

wget \
     --recursive \
     --no-clobber \
     --page-requisites \
     --html-extension \
     --convert-links \
     --restrict-file-names=windows \
     --domains www.domain.ext \
     --no-parent \
         https://www.domainwithhttps.ext

bottom one should contain full URL, top one just the domain without https://.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment