Metadata-Version: 2.1
Name: novelsave
Version: 0.3.6
Summary: Tool to convert webnovel to epub
Home-page: https://github.com/mHaisham/novelsave
Author: Schicksal
Author-email: mhaisham79@gmail.com
License: MIT license
Project-URL: Source code, https://github.com/mHaisham/novelsave
Keywords: webnovel novel scrape save own
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.8
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: tinydb
Requires-Dist: yattag
Requires-Dist: ebooklib
Requires-Dist: requests
Requires-Dist: webnovelbot
Requires-Dist: bs4
Requires-Dist: lxml

# NovelSave

Tool to convert novels to epub

## Install

```
pip install novelsave
```

## Commandline

### Example
```
python3 -m novelsave https://www.webnovel.com/book/my-disciples-are-all-villains_16984011906162405 -u -p -c
```

#### Save directory

Novels are saved to folder `novels` in user home

### Help

```batch
usage: __main__.py [-h] [-tc THREADS] [-t TIMEOUT] [-u] [-p] [-c] [--email EMAIL] novel

tool to convert novels to epub

positional arguments:
  novel                 either id (only for webnovels) or url of novel

optional arguments:
  -h, --help            show this help message and exit
  -tc THREADS, --threads THREADS
                        number of download threads
  -to TIMEOUT, --timeout TIMEOUT
                        webdriver timeout

actions:
  -u, --update          update novel details
  -p, --pending         download pending chapters
  -c, --create          create epub from downloaded chapters

credentials:
  --email EMAIL         webnovel email

```

## Manual

Access all the saved data using `novelsave.database.NovelData`

Manipulate the data using the accessors provided in the class

Creating an epub is easy as calling a function. `novelsave.Epub().create()`

## Sources

- [webnovel.com](https://www.webnovel.com)
- [wuxiaworld.co](https://www.wuxiaworld.co/)
- [boxnovel.com](https://www.boxnovel.co/)

