View Single Post
Old 03-24-2021, 10:33 AM   #1
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
Some quesitons about calibre code

I use some part of the calibre code like these:

- update MOBI book's EXTH header to change ASIN: https://github.com/xxyzz/WordDumb/bl...etadata.py#L54

- get HTML bytes of MOBI book: https://github.com/xxyzz/WordDumb/bl...rse_job.py#L58

- send book to device: https://github.com/xxyzz/WordDumb/bl...nd_file.py#L19

- get certain MOBI header: https://github.com/xxyzz/WordDumb/bl...tadata.py#L118

Is there any equivalent handy APIs already exist in calibre? If not, I'd like to send a few pull requests to add them.

Last edited by xxyzz; 03-24-2021 at 10:46 AM.
xxyzz is offline   Reply With Quote