UPDATE: Ra has ended
No updates are planned and an EPUB containing all chapters, the original ending and appendices is available. Go to https://qntm.org/ra and download it from there.
What is this?
This script prepares a EPUB version of qntm's book Ra by scraping the website.
- perl >= 5.13.2 (although could be made to work on older versions)
- HTML::TreeBuilder >= 5
- Calibre (you don't have to start its interface, but you need to be able to run the
How it works
- It downloads all chapters it can find, applies minor fixes and joins them in a single file
- It then runs
ebook-convertfrom Calibre to build
While building an e-book from https://qntm.org/ra is okay, the resulting
ra.epub is not redistributable.