JasonGross / unsong_scraper

Unsong for kindle, based on https://github.com/rhelsing/worm_scraper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unsong Web Serial Scraper for Kindle

I adapted a Worm Web Serial scaper to make a ebook/kindle version of Unsong, by Scott Alexander. You can now enjoy Unsong without all of the eye strain!

Unsong Header

Download

Download the ebook or run the scraper yourself.

How to run:

  1. Clone this project
  2. Install dependencies
gem install uri
gem install open-uri
gem install nokogiri
gem install parallel
  1. Run the script and output into html file
ruby unsong_scraper.rb > unsong.html
  1. Convert (requires Calibre CLI)
ebook-convert unsong.html unsong.mobi --authors "Scott Alexander" --title "Unsong" --max-toc-links 500

About

Unsong for kindle, based on https://github.com/rhelsing/worm_scraper


Languages

Language:Ruby 88.6%Language:Shell 11.4%