An open API service indexing awesome lists of open source software.

https://github.com/xi/oreilly-downloader

download epub books from O'Reilly
https://github.com/xi/oreilly-downloader

Last synced: 21 days ago
JSON representation

download epub books from O'Reilly

Awesome Lists containing this project

README

          

# 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](https://learning.oreilly.com/terms/).

# Usage

```
$ pip install aiohttp
$ python3 oreilly_downloader.py 9781491958698 --jwt 'XYZ'

created 9781491958698.epub
```

# Similar Projects

- (python)
- (rust)
- (javascript)
- (go)