Skip to content

veduudev/pynovel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyNovel

A basic website scraper and downloader to download your favorite webnovels.

Usage

  1. Clone the GitHub Repo
git clone "https://github.com/sili-gato/pynovel.git"
  1. Add PyNovel to PATH by adding the following line in your .zshrc (or other relevant shell config files)
export PATH="path/to/cloned/repo:$PATH"

### For Example, if you cloned to "~/Documents", the command would be
export PATH="Users/yourName/Documents:$PATH" # For macOS
  1. (OPTIONAL) Setup an alias for pynovel by adding the following line to your .zshrc (or other relevant shell config files)
alias pynovel="pynovel.sh" 

Assuming you have aliased pynovel.sh as pynovel

  1. Create your config file by running "pynovel -e"
pynovel -e
  1. Default PyNovel Configuration
pynovel_editor=nano #SETS THE TEXT EDITOR FOR WHEN YOU RUN "pynovel -e"
download_dir="$PWD" #SETS THE DIRECTORY FOR THE NOVELS DOWNLOADED
  1. My config
pynovel_editor=nvim
download_dir="$HOME/Documents/Novels" ### "$HOME" is your root directory path.
For example its the "~" on macOS.

Work In Progress

  1. Working on adding novel cover preview support when selecting which novel to download.

Ps: It's my first attempt at making a script like this so the code is pretty messy :O

About

PyNovel is a command-line tool to scrape https://novelhi.com/ and download your favorite webnovels.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published