OCR would likely work, however I would need to render everything out with a browser and do (probably) more processing. I also wanted a way to preserve text styling exactly as the web viewer shows it, not sure if OCR supports detecting text alignment.
Also I've released the tool and a post about it here: https://news.ycombinator.com/item?id=45610226