Skip to content

Instantly share code, notes, and snippets.

@gshrikant
gshrikant / grab_pdfs.py
Last active August 27, 2018 02:36 — forked from elssar/grab_pdfs.py
Download all the pdf files linked in a given webpage.
#!/usr/bin/env python
"""
Download all the pdfs linked on a given webpage
Usage -
python grab_pdfs.py url <path/to/directory>
url is required
path is optional. Path needs to be absolute