Quote:
Originally Posted by kovidgoyal
Just FYI, you can write python scripts to process epub and azw3 files using the same infrastructure the calibre editor uses, like this:
And you run this like this
calibre-debug myscript.py file.epub
Look at polish/container.py for the various API methods of the container object as well as the other files in the polish directory to see how you can achieve various things the editor does.
|
Very cool! Thanks for the tip (and the functionality).