Last active
July 8, 2020 00:37
-
-
Save bdaley/900a9e7a785f832be76597cd095227d1 to your computer and use it in GitHub Desktop.
Mirror a website with wget
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mirror Site | |
# Add --span-hosts to include remote assets | |
wget -P [directory_name] --mirror --html-extension --no-parent --convert-links --user-agent="" -e robots=off --wait 1 -E https://example.com/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment