Convert docsend.com to PDF or PNG image sequence.
Python 3.6+ is required.
pip install docsend
From command line:
# download a pdf
docsend doc_id --email [email protected]
# include passcode if required
docsend doc_id -e [email protected] --passcode 123example123
# download png sequence
docsend doc_id -e [email protected] --format png
# specify output file or directory name
docsend doc_id -e [email protected] -f pdf --output doc.pdf
# all options combined
docsend doc_id -e [email protected] -p 123example123 -f png -o pages
From Python code:
from docsend import DocSend
ds = DocSend('abcdef9')
ds.fetch_meta()
ds.authorize('[email protected]')
ds.fetch_images()
ds.save_pdf('doc.pdf')
ds.save_images('pages')
You are welcome to contribute.