Skip to content

Instantly share code, notes, and snippets.

@kipyegonmark
Created April 30, 2015 09:12
Show Gist options
  • Save kipyegonmark/846efb1fb58b2cd67956 to your computer and use it in GitHub Desktop.
Save kipyegonmark/846efb1fb58b2cd67956 to your computer and use it in GitHub Desktop.
wget command to scrape pdf from a website
wget -A pdf -m -p -E -k -K -np http://site/path/
-nd flag will download to a single directory
https://www.gnu.org/software/wget/manual/wget.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment