jo1gi / audiobook-dl

Audiobook CLI downloader
GNU General Public License v3.0
248 stars 43 forks source link

Support for BookBeat, no metadata! #23

Closed lullius closed 1 year ago

lullius commented 1 year ago

Added support for BookBeat, #22

BookBeat's audiobooks are mp4/aac files. I couldn't get this to work with the way we currently embed metadata. Maybe we need to use mutagen.MP4? Because of this it's hard to test if chapters etc are correctly parsed. For now I've added try/catches in metadata.py so that it won't crash when trying to write the id3 to mp4 files.

For this to work the user must have saved the audiobook to "My Books".

The links look like this: https://www.bookbeat.no/bok/666836 or this: https://www.bookbeat.no/bok/karsten-og-petra-hilser-pa-kongen-666836

jo1gi commented 1 year ago

I will take a look at implementing mp4 metadata