All Projects → mensch272 → novelsave

mensch272 / novelsave

Licence: Apache-2.0 license
This is a tool to download and convert novels from popular sites to e-books.

Programming Languages

python
139335 projects - #7 most used programming language
Mako
254 projects

Projects that are alternatives of or similar to novelsave

lightnovel epub
🍭 epub generator for (light)novels (轻) 小说 epub 生成器,支持站点:轻之国度、轻小说文库
Stars: ✭ 89 (+256%)
Mutual labels:  lightnovel, epub, novel
baruch
A mobile app where you can read and download light novels.
Stars: ✭ 68 (+172%)
Mutual labels:  lightnovel, novel
Easybook
Java/Android多站点小说爬虫库,并发搜索,epub/txt下载,在线书源等,已实现小说app
Stars: ✭ 262 (+948%)
Mutual labels:  epub, novel
Wenku8ToEpub-Online
基于flask的wenku8的epub下载网站,能够缓存wenku8网站有/无版权小说,Material Design界面,人性化使用前端。
Stars: ✭ 49 (+96%)
Mutual labels:  epub, novel
Thiefmd
The markdown editor worth stealing. Inspired by Ulysses, based on code from Quilter
Stars: ✭ 48 (+92%)
Mutual labels:  epub, novel
Kepubify
Fast, standalone EPUB to KEPUB converter CLI app / library (and a few other utilities).
Stars: ✭ 225 (+800%)
Mutual labels:  epub
onesync-reader-app
Cross-platform ebook reader built using Xamarin.Forms
Stars: ✭ 33 (+32%)
Mutual labels:  epub
Epubreader
.NET library for reading EPUB files
Stars: ✭ 222 (+788%)
Mutual labels:  epub
Reader
高仿多看阅读器apk,支持PDF解析.文档支持搜索,高亮文字,墨迹等功能
Stars: ✭ 98 (+292%)
Mutual labels:  epub
Comicbook
epub comic generator | nhentai.net | e-hentai.org | wnacg.org
Stars: ✭ 222 (+788%)
Mutual labels:  epub
Bookdown
Authoring Books and Technical Documents with R Markdown
Stars: ✭ 2,768 (+10972%)
Mutual labels:  epub
Safaribooks
Download and generate EPUB of your favorite books from O'Reilly Learning (aka Safari Books Online) library.
Stars: ✭ 3,208 (+12732%)
Mutual labels:  epub
mkepub
Simple minimalistic library for creating EPUB3 files
Stars: ✭ 68 (+172%)
Mutual labels:  epub
Eplee
Sweet, simple epub reader
Stars: ✭ 227 (+808%)
Mutual labels:  epub
The-Swallows
Novel-generator and generated novels for NaNoGenMo 2013
Stars: ✭ 32 (+28%)
Mutual labels:  novel
fan-ren-xiu-xian-zhuan
凡人修仙传(fanrenxiuxianzhuan)的资源汇总,谨献给“凡友”们。
Stars: ✭ 32 (+28%)
Mutual labels:  novel
Open Publisher
Using Jekyll to create outputs that can be used as Pandoc inputs. In short - input markdown, output mobi, epub, pdf, and print-ready pdf. With a focus on fiction.
Stars: ✭ 242 (+868%)
Mutual labels:  epub
nuber
terminal epub reader with inline images
Stars: ✭ 73 (+192%)
Mutual labels:  epub
Foliate
A simple and modern GTK eBook reader
Stars: ✭ 3,150 (+12500%)
Mutual labels:  epub
Duofolio
A simple ebook reader to help you learn languages 📖
Stars: ✭ 233 (+832%)
Mutual labels:  epub

NovelSave

PyPI Python Version Last Commit Issues Pull Requests pre-commit.ci status License Discord

This is a tool to download and convert novels from popular sites to e-books.

v0.7.+ is not compatible with previous versions

Install

Local

pip install novelsave

or

pip install git+https://github.com/mensch272/novelsave.git

Chatbots

Discord

Join our server: https://discord.gg/eFgtrKTFt3

Environmental Variables

The default environmental variables are shown below. Modify them to your liking when deploying.

DISCORD_TOKEN is required, others are optional.

DISCORD_TOKEN=  # Required: discord bot token
DISCORD_SESSION_TIMEOUT=10 # Minutes
DISCORD_SESSION_THREADS=5
DISCORD_SEARCH_LIMIT=20  # Maximum results to show
DISCORD_SEARCH_DISABLED=no  # Disable search functionality
DISCORD_EXTERNAL_FILEHOST=none  # options: anonfiles, gofiles, none

Heroku Deployment

Fill out the following form and set the environmental variables.

Deploy

Usage

Basic

To download and package the novel in a single line use the following command:

novelsave process <id_or_url>

The most common commands you'll be using are:

update

The command requires the url of the id of the novel as an argument. When the novel has been identified it attempts to update the current novel information in the following steps:

  1. Download the novel webpage.
  2. Update the novel information. This includes title, author and pending chapters.
  3. Identify the chapters with no content and download and update them.
  4. Download any assets that require to be downloaded (assets are identified during chapter download).

Note that, if url is provided and the novel does not already exist in the database, a new novel entry will be created.

For more information, run

novelsave update --help

package

The command requires the url of the id of the novel as an argument. When novel is identified compiles the downloaded content into the specified formats.

Specify a compilation target using the --target option. If option is not provided compiles to only epub.

Or you may use --target-all to package to all supported formats.

novelsave package <id_or_url> --target epub --target web

Supported compilation targets:

epub html mobi pdf azw3 text

For more information, run

novelsave package --help

process

The command requires the url of the id of the novel as an argument. This is a combination of the above two commands, update and package.

This is a command of convenience, to update and package in a single command.

For more information, run

novelsave process --help

Configurations

Use the following command to show all the current configurations. Default value will be shown in case none is set.

novelsave config show

You may change your configurations using set or reset. For example:

novelsave config set novel.dir --value ~/mynovels
novelsave config reset novel.dir

All supported configurations are:

  • novel.dir - Your desired novel's packaged data (epub, mobi) save location

More

To find more information, use option --help on groups and commands.

novelsave --help
novelsave novel --help

Cookies

Want to access authentication protected content, use browser cookies.

Browser cookies

This is an optional feature where you may use cookies from your browsers when sending requests. This effectively allows the script to pretend as the browser and thus allowing access to any content the browser would also be able to access.

You can use this in the following simple steps:

  1. Login to your source of choice with your browser of choice (though make sure the browser is supported).
  2. Use option --browser <browser> when updating novel (also available in process).
novelsave [update|process] <id_or_url> --browser <browser>

Supported

chrome firefox chromium opera edge brave

Sources

Sources have been moved to its own package. You can install and upgrade sources using the following command.

pip install novelsave-sources --upgrade

Disclaimer

We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with the any of the sources mentioned above.

License

Apache-2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].