Creating .epub files in Python - Part 1: Getting the data