Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 809 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 809 Bytes

wsepub

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.

Features

  1. Generate a well-formated epub file automatically from the index page of a book.
  2. Generate table of content and navigation page.
  3. Replace English quote mark("") with Chinese quote mark(「」).

Screenshots

epub_toc

quote_mark

Usage

python wikisource.py http://the/link/of/the/book