-
-
Save quoidautre/f6e667ea7f061901406e to your computer and use it in GitHub Desktop.
Wget tips
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
# Copy a whole site locally, | |
# including images, css, js | |
# and converting links | |
wget -p -m -k fullweb.io | |
# Check for 404 links | |
wget --spider your-url-list.txt | |
# give it an HTML page with -F | |
wget --spider -F you-webpage.html | |
# Accept (-A) or reject (-R) some files | |
# here only keeping images from the site | |
wget -p -A png,jpg,jpeg,gif \ | |
-R html,css,js \ | |
wikipedia.org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment