Tool to convert webnovel to epub
Project description
NovelSave
Tool to convert novels to epub
v0.6.+ is not compatible with previous versions
Install
pip install novelsave
or
pip install git+https://github.com/mHaisham/novelsave.git
Commandline
Example
Update a novel
novelsave https://www.webnovel.com/book/my-disciples-are-all-villains_16984011906162405 -u -p -c
Check/Update configurations
novelsave config
novelsave config -d novels
Save directory
Novels are saved to folder novels
in user home
Help
usage: __main__.py [-h] [-u] [-p] [-c] [--meta META] [--force-cover] [--force-create] [--force-meta] [--email EMAIL] [-v] [--threads THREADS] [--timeout TIMEOUT]
[--limit LIMIT] [-d DIR]
action
tool to convert novels to epub
positional arguments:
action novel url for downloading novels; 'config' to change configurations
optional arguments:
-h, --help show this help message and exit
-v, --verbose enable animations; only in pending
--threads THREADS number of download threads
--timeout TIMEOUT webdriver timeout
--limit LIMIT amount of chapters to download
actions:
-u, --update update novel details
-p, --pending download pending chapters
-c, --create create epub from downloaded chapters
--meta META metadata source url
--remove-meta remove current metadata
--force-cover download and overwrite the existing cover
--force-create force create epub
--force-meta force update metadata
credentials:
--email EMAIL webnovel email
config:
-d DIR, --dir DIR directory for saving novels
Manual
Pass a url to the NovelSave
class which will select the correct source for it.
from novelsave import NovelSave
if __name__ == '__main__':
save = NovelSave(url)
Methods
NovelSave
has 4 methods
update(self, force_cover=False):
metadata(self, url, force=False):
remove_metadata(self, with_source=True):
download(self, thread_count=4, limit=None):
create_epub(self, force=False):
Database
you can access the database by using the db
attribute of NovelSave
save.db
Sources
- webnovel.com
- wuxiaworld.co
- boxnovel.com
- readlightnovel.org
- insanitycave.poetry
- ktlchamber.wordpress
- kieshitl.wordpress
- scribblehub.com
- mtlnovel.com
- fanfiction.net
- novelfull.com
- wuxiaworld.com
- royalroad.com
- forums.spacebattles.com
Metadata Sources
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
novelsave-0.6.0.tar.gz
(27.0 kB
view hashes)
Built Distribution
novelsave-0.6.0-py3-none-any.whl
(50.6 kB
view hashes)
Close
Hashes for novelsave-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1f575b4a329ec6fc1b12d4737fe62262232ccfd19d68c39ebd0449cb7dadeb6 |
|
MD5 | bfa80ed5889f90687ecf8c912d2c469c |
|
BLAKE2b-256 | b4764540ba45f2ede2bd7211ea9a6a54b17d0d796f014898d650fece805ceaf0 |