Created
September 11, 2016 11:21
-
-
Save stream7/550622206741ca5362599bbcd16eaeb8 to your computer and use it in GitHub Desktop.
how to download a website with wget
This file contains 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
# download html | |
wget \ | |
--recursive \ | |
--no-clobber \ | |
--page-requisites \ | |
--html-extension \ | |
--convert-links \ | |
--no-parent \ | |
--restrict-file-names=nocontrol \ | |
http://domain.com | |
# download images | |
wget -e robots=off \ | |
-H -nc -np \ | |
--recursive -p \ | |
--level=1 \ | |
--domains domain.com,cloudfront.net \ | |
http://domain.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment