Chirp AudioBook Download Script
This script eases the process of downloading the audio files from Chirp Audiobooks.
It uses the browsers console to generate a list of URLs, and then provides a list of wget
commands to download them.
Tested with Firefox on MacOS. Might need some small tweaks for Windows.
Instructions
- Find the book in your Chirp Library
- If you've already listened to it, you may need to move it back from your Archive
- Click the book to open Chirp's web player
- Open the browser's Web Developer Tools
- Copy-paste the
script.js
contents into the console and press [enter] - Initiate the script:
- If the book is already at the start, click Play (▶)
- If the book is on any other track, open the Chapters menu (top left) and select the first Track
- Wait while the script advances through each track; it's saving the URLs in the background.
- When it reaches the final track, the script will print a list of commands to the console.
- Expand this list (if necessary) (▸)
- Copy-paste it to a command line and press [enter] to execute it.
Once the commands finish, you should have a new folder with a cover image and each of the tracks as .m4a files.
Enjoy!