A python script for generating epub file for Chinese classic texts from zh.wikisource.org.
I wrote it for 《宋史纪事本末》, but it should work for any Chinese classic texts published on wikisource.
Refer to samples folder for the actual epub files.
- Generate a well-formated epub file automatically from the index page of a book.
- Generate table of content and navigation page.
- Replace English quote mark("") with Chinese quote mark(「」).
python wikisource.py http://the/link/of/the/book