ebooklib icon indicating copy to clipboard operation
ebooklib copied to clipboard

ITEM_AUDIO is not extracting the audio content in the epub

Open Prabakaran1410 opened this issue 3 years ago • 1 comments

ITEM_AUDIO is not extracting the audio content in the epub

book.get_items_of_type(ebooklib.ITEM_AUDIO)

Prabakaran1410 avatar Nov 26 '21 06:11 Prabakaran1410

It will just list you EpubItems and than you need to yourself get_content() to fetch the content. But I assume your problem was becuase ITEM_AUDIO is defined at the moment as ITEM_AUDIO: ['.mp3', '.ogg'] and you maybe had some other extension.

aerkalov avatar Jun 18 '22 21:06 aerkalov