Crawl novels from esjzone, ciweimao and sfacg. Generate epub from txt file
- Debian 11
- GCC 11 or Clang 13
cmake -S . -B build
cmake --build build --config Release -j"$(nproc)"
sudo cmake --build build --config Release --target install
sudo cmake --build build --config Release --target uninstall
Add new chapter to EPUB file
When using, the current directory must have an EPUB file with the same name
addition book-name.txt
Txt files need to be preprocessed: each volume starts with [VOLUME] plus a space; each chapter starts with [WEB] plus a space; pictures start with [IMAGE] plus a space, followed by the picture number.
Generate EPUB file according to the given TXT file
kepub book-name.txt
Txt files need to be preprocessed: the author starts with [AUTHOR] and a newline character; the introduction starts with [INTRO] and a newline character; the postscript starts with [POST] and a newline character; each volume starts with [VOLUME] plus a space; each chapter starts with [WEB] plus a space; pictures start with [IMAGE] plus a space, followed by the picture number.
Crawl the novels on esjzone and generate TXT files, then you can use kepub to generate EPUB files
The first command line parameter is book id
esjzone 1578022447
Crawl the novels on ciweimao and generate TXT files, then you can use kepub to generate EPUB files
The first command line parameter is book id
ciweimao 100194379
Crawl the novels on sfacg and generate TXT files, then you can use kepub to generate EPUB files
The first command line parameter is book id
sfacg 263060
Thanks to JetBrains for donating product licenses to help develop this project