Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 828 Bytes

readme.md

File metadata and controls

49 lines (33 loc) · 828 Bytes

docsend

Convert docsend.com to PDF or PNG image sequence.

Install

Python 3.6+ is required.

pip install docsend

Usage

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')

Missing features

You are welcome to contribute.