bookbonobo / libby-download-extension

MIT License
134 stars 22 forks source link

Libby Downloader

Libby Downloader is a Firefox extension that allows for download and transfer of audiobooks from the Libby website for transfer to devices that are now unsupported (e.g. the Sansa Clip).

Installation

Install Libby Downloader from the Firefox Extension Store.

Note: Minimum supported Firefox version is 102 ESR

Disclaimer

Books downloaded by this tool are still due on their due date. This tool is not intended to help you "keep" your borrowed books. The due date can be found in the filename and MP3 tags.

Use

Navigate to a borrowed audiobook on Libby and open the extension.

Ready Screenshot

Click the download button to begin downloading your audiobook.

Complete Screenshot

Once finished, there will be a zip file in your downloads folder containing the processed mp3.

Download Screenshot

Technical Details

Like Overdrive, Libby hosts Audiobooks in multiple part files, and chapters can span multiple parts. The output zip file contains a single mp3 created by merging all the parts and a cue file with the chapter boundaries in relation to this merged file (instead of their individual part file as Libby stores them).

MP3 Tags

The MP3 is created with the following ID3v2 tags

Chapters

If your device doesn't support embedded chapters via ID3v2 tags you can:

Split by Chapter

The mp3 can be split into a file per chapter by various tools which understand the accompanying cue file or https://github.com/yermak/AudioBookConverter.

Convert to M4B

The mp3 can be converted into an m4b file by using a tool like ffmpeg or https://github.com/yermak/AudioBookConverter which do understand embedded chapter information.