Skip to content

📖 Python script for generating epub for Chinese Classic Texts from wikisource.

Notifications You must be signed in to change notification settings

digglife/wsepub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

📖 Python script for generating epub for Chinese Classic Texts from wikisource.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages