/ch.rip

CHIRP eBook Downloader

Primary LanguageJavaScript

ch.rip - chirp eBook downloader

Chapter Rip (ch.rip) is a tool to download an optionally pack the audio files for the books you have purchased on chirp. It should work on Windows, Linux, and MacOS.

This project owes a lot to the automation orginally from https://gist.github.com/nfriedly/1d0f81fd68addd594d4974923205c384 the sequence of which is maintained here.

Setup

First download and unzip this repository

There are some prerequisites please install these now:

For repacking books you will also need

Process

  • Install the above components.
  • Navigate your command line to the directory containing this readmey then run npm install. This installs the selenium webdriver we need.
  • Done!

Usage

Have you got the prerequisites setup? OK good!


Downloading files

Step 1

Navigate your command line to the directory containing this readme then run

node chrip.js

Step 2

Login as prompted

Step 3

The browser will navigate to the My Library tab. Select the book you want to download.

Step 4
  • Go to the first chapter of the book!!
  • Press the play button

The script will now jump through all the chapters snooping on and downloading the files for you. Files will be in a subfolder next to this script.

Step 5

The script closes the book tab. You may now select another book or exit the browser window.


Repacking books

Step 1

Drag the book folder onto the repack.py file. Or run python repack.py FOLDER_NAME

Step 2

Delete the book folder if you don't need the individal chapters