Quote:
Originally Posted by marbs
i asked this before, but i think it was missed with all the other stuff going on. how hard would it be to make this script run in python (not in calibre)? i still want to get the pdf files...
|
It wasn't missed - I ignored it
Calibre is mostly a superset of Python. I'm not sure what you're asking. You can easily run any recipe outside of the GUI with ebook-convert. You can easily import anything you need from Python. You can easily subclass any of the provided classes to override or modify program behavior. You can easily run .py code file with calibre-debug -e outside the GUI. If I understand it, I think you want to do a GET of a pdf file, perhaps run some conversion on it, etc.? I suspect it's possible, but I've never seen it done. I'd just start doing it and solve the problems as they appear. I don't see anything that jumps out at me and says it's impossible, provided you're willing to put in the effort, but I don't know of any stock code that will do all that you might want done (whatever that is?)