Skip to content

Instantly share code, notes, and snippets.

@yeiichi
Created July 22, 2024 10:18
Show Gist options
  • Save yeiichi/c9b28fc3e9e19415ab98ad240649bc38 to your computer and use it in GitHub Desktop.
Save yeiichi/c9b28fc3e9e19415ab98ad240649bc38 to your computer and use it in GitHub Desktop.
Download contiguous HTMLs using wget.
#!/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