-
-
Save imagehat/3699387 to your computer and use it in GitHub Desktop.
Gist for retrieving a full website using wget, because I always forget the options.
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
# | |
# Explanation: | |
# -E Adjust extension. | |
# -k Convert links. | |
# -N Enable timestamping. | |
# -np No parent. | |
# -p Page requisites. | |
# -r Recursive. | |
# -w1 The time to wait between requests. | |
# --random-wait Wait times 0.5 to 1.5. | |
# | |
wget -E -k -N -np -p -r -w1 --random-wait |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment