oreilly-downloader

download epub books from O'Reilly
git clone https://git.ce9e.org/oreilly-downloader.git

NameSize
LICENSE1072B
README.md983B
oreilly_downloader.py2273B

O'Reilly epub downloader

O'Reilly provides all of their books in epub format, but only through their own reader.

This script allows you to download all the individual files and assemble them back into a full epub. This allows you to use other readers, e.g. for accessibility reasons.

You need to have a valid JWT to download content. If you do not provide one, each chapter will be cut short. You can get it by logging in with your browser and extracting the orm-jwt cookie using the developer tools.

Before any usage, please read the O'Reilly Terms of Service.

Usage

$ pip install aiohttp
$ python3 oreilly_downloader.py 9781491958698 --jwt 'XYZ'
…
created 9781491958698.epub

Similar Projects