Skip to content
/ nepub Public

「小説家になろう」の小説を縦書きの EPUB に変換するためのツール

License

Notifications You must be signed in to change notification settings

ttk1/nepub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nepub

「小説家になろう」の小説を縦書きの EPUB に変換するためのツール

Requirements

  • Python 3
    • 3.10 で動作確認しています

Installation

pip install git+https://github.com/ttk1/nepub.git

Usage

$ nepub -h
usage: nepub [-h] [-i] [-o <file>] novel_id

positional arguments:
  novel_id              novel id

options:
  -h, --help            show this help message and exit
  -i, --illustration    Include illustrations
  -o <file>, --output <file>
                        Output file name.If not specified, ${novel_id}.epub is used.
                        Update the file if it exists.

Example:

$ nepub xxxx
noval_id: xxxx, illustration: False, output: xxxx.epub
xxxx.epub found. Loading metadata for update.
3 episodes found.
Start downloading...
Download skipped (already up to date) (1/3): https://ncode.syosetu.com/xxxx/1/
Download skipped (already up to date) (2/3): https://ncode.syosetu.com/xxxx/2/
Downloading (3/3): https://ncode.syosetu.com/xxxx/3/
Download is complete! (new: 1, skipped: 2)
Updated xxxx.epub.

※ xxxx の部分には小説ページの URL の末尾部分 (https://ncode.syosetu.com/{ここの文字列}/) に置き換えてください。

免責事項

本ツールは、小説投稿サイト「小説家になろう」の小説を縦書きの EPUB に変換するための非公式ツールです。 本ツールは株式会社ヒナプロジェクトとは一切関係がありません。

「小説家になろう」は、株式会社ヒナプロジェクトの登録商標です。

注意事項

  • 自分用に作成したため、最低限読める EPUB を出力する機能しかありません
  • 「小説家になろう」のサーバーに負荷をかけないよう、ご注意ください
  • 本ツールの使用によって生じたいかなる結果についても責任を負いません。ご使用は自己責任でお願いいたします。

About

「小説家になろう」の小説を縦書きの EPUB に変換するためのツール

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published