View Single Post
Old 03-10-2021, 10:16 PM   #8
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Thanks for the help!

I still have some questions:

- I'm using the following code to get acr:

Code:
book = YJ_Book(book_path)
book.get_metadata()
return book.get_asset_id()
Do I need to call 'book.final_actions() to clear temp files?

- Why 'convert_to_single_kfx' calls 'decode_book' again?

- Should I just use the first and the last test location as srl and erl or get them from header or somewhere?

- I'm using regex('>[^<>]+<') to find the text between tags for MOBI and AZW3 books, it there a better way(faster and skip tags like <style>) to get the book text and their locations?

- I guess kfx doesn't have a header similar to Unique-ID?

- How do you know all these stuffs about Kindle?
xxyzz is offline   Reply With Quote