Skip to content

Instantly share code, notes, and snippets.

@bryanjvolz
Created August 31, 2021 01:37
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 bryanjvolz/153630cc6432b874b64ed2f183d35260 to your computer and use it in GitHub Desktop.
Save bryanjvolz/153630cc6432b874b64ed2f183d35260 to your computer and use it in GitHub Desktop.
Wget a sitemap then download all pages, assets, dependencies
wget --quiet http://website.com/sitemap.xml --output-document - | egrep -o "https?://[^<]+" | wget -i -k -p -r --level=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment