ozzieperez / packtpub-library-downloader

Script to download all your PacktPub ebooks and videos
216 stars 62 forks source link

PacktPub Library Downloader

Automatically download all your eBooks and videos. (See: PacktPub Free Daily Book)

Usage:

python downloader.py -e <email> -p <password> [-d <directory> -b <book assets> -v <video assets>]
Example: Download books in PDF and EPUB formats and accompanying source code
python downloader.py -e hello@world.com -p p@ssw0rd -d ~/Desktop/packt -b pdf,epub,code
Example: Download videos, their cover image, and accompanying source code
python downloader.py -e hello@world.com -p p@ssw0rd -d ~/Desktop/packt -v video,cover,code
Example: Download Integrated Courses (Interactive-Ebooks), their cover image, and accompanying source code
python downloader.py -e hello@world.com -p p@ssw0rd -d ~/Desktop/packt -c course,cover,code
Example: Download everything
python downloader.py -e hello@world.com -p p@ssw0rd -d ~/Desktop/packt -b pdf,epub,mobi,cover,code,info -v video,cover,code -c course,cover,code

Commandline Options

Video Assets

Book Assets

Course Assets

Dependencies:

Tested working on Python 2.7.11 and Python 3.6.0 :: Anaconda 4.3.0 (64-bit)