Skip to content

Instantly share code, notes, and snippets.

@Friedjof
Created April 7, 2023 10:12
Show Gist options
  • Select an option

  • Save Friedjof/2882b5be4ddcdb5a0702f5b3e719cfbd to your computer and use it in GitHub Desktop.

Select an option

Save Friedjof/2882b5be4ddcdb5a0702f5b3e719cfbd to your computer and use it in GitHub Desktop.

Audible Download

Show Books

audible library list

Download all Books

audible download --aaxc --pdf --cover --cover-size 1215 --chapter --annotation --all

Download specific Book

audible download --aaxc --pdf --cover --cover-size 1215 --chapter --annotation --asin <ASIN>

List of ASINs can be found in the audible library list output.

Set the --output-dir to the directory where the files should be downloaded to.

audible download --aaxc --pdf --cover --cover-size 1215 --chapter --annotation --asin <ASIN> --output-dir <output-dir>

AAX to MP3

Show activation bytes

audible activation-bytes

Convert AAX to MP3

bash AAXtoMP3 -e:m4b --use-audible-cli-data --authcode <activation-bytes> *.aaxc

You can find the AAXtoMP3 script on GitHub.

Errors

Fedora → mp4art: Command not found

Error

AAXtoMP3: Line 974: mp4art: Command not found.

Solution

Install mp4v2-utils package.

sudo dnf install mp4v2-utils

Sources

Support

If you have any questions, feel free to write a comment below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment