Skip to content

Converts JSON chapters from Audible's web player to standard chapters.txt format

Notifications You must be signed in to change notification settings

harrygallagher4/chapterizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chapterizer

Converts JSON chapters from Audible's web player to standard chapters.txt format

deno run --allow-read index.ts

downloading chapters.json

chapters.json is created by extracting chapter data from the Audible web player.

You need your licenserequest.json, here's how to get that:

  • Start playing a book in the Audible web player
  • Open the Network tab of devtools (and then refresh the page)
  • Look for licenserequest.json. The "type" column should be XHR
  • Copy the response and save in a file named licenserequest.json

Once you have that, you can use jq to extract just the chapters for use with this script

jq '.content_license.content_metadata.chapter_info.chapters' <licenserequest.json >chapters.json

About

Converts JSON chapters from Audible's web player to standard chapters.txt format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published