Metadata-Version: 2.1
Name: novelsave
Version: 0.5.5
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: appdirs (==1.4.4)
Requires-Dist: yattag (==1.14.0)
Requires-Dist: tinydb (==4.2.0)
Requires-Dist: requests (==2.25.0)
Requires-Dist: beautifulsoup4 (==4.9.3)
Requires-Dist: ebooklib (==0.17.1)
Requires-Dist: webnovelbot (==0.2.8)
Requires-Dist: lxml (>=4.6.1)

# NovelSave

[![GitHub version](https://badge.fury.io/gh/mHaisham%2Fnovelsave.svg)](https://badge.fury.io/gh/mHaisham%2Fnovelsave) [![PyPI version](https://badge.fury.io/py/novelsave.svg)](https://badge.fury.io/py/novelsave) 

Tool to convert novels to epub

## 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

```batch
usage: __main__.py [-h] [-u] [-p] [-c] [-fc] [--force-cover] [--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
  -fc, --force-create  force create epub
  --force-cover        download and overwrite the existing cover

credentials:
  --email EMAIL        webnovel email

config:
  -d DIR, --dir DIR    directory for saving novels
```

## 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)
- [readlightnovel.org](https://www.readlightnovel.org)
- [insanitycave.poetry](https://insanitycave.poetry.blog)
- [ktlchamber.wordpress](https://ktlchamber.wordpress.com)
- [kieshitl.wordpress](https://kieshitl.wordpress.com)
- [scribblehub.com](https://www.scribblehub.com)
- [mtlnovel.com](https://www.mtlnovel.com)
- [fanfiction.net](https://www.fanfiction.net)
- [novelfull.com](https://novelfull.com)
- [wuxiaworld.com](https://www.wuxiaworld.com)

