Created
July 22, 2024 10:18
-
-
Save yeiichi/c9b28fc3e9e19415ab98ad240649bc38 to your computer and use it in GitHub Desktop.
Download contiguous HTMLs using 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
#!/usr/bin/env zsh | |
# Download contiguous HTMLs using wget. | |
base='https://example.com/' | |
for i in {1..9}; do | |
wget -O "$i".html "$base""$i"/ | |
sleep 3 | |
done | |
echo "Done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment