Created
May 2, 2024 11:49
-
-
Save jdmichaud/f30f6eeae42f9a525ed33840acf3167a to your computer and use it in GitHub Desktop.
Mirror a site 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
wget \ | |
--mirror \ | |
--convert-links \ | |
--adjust-extension \ | |
--page-requisites \ | |
--no-parent --execute robots=off \ | |
--user-agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0" \ | |
<url> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://news.ycombinator.com/item?id=40496558