A basic website scraper and downloader to download your favorite webnovels.
- Clone the GitHub Repo
git clone "https://github.com/sili-gato/pynovel.git"
- 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
- (OPTIONAL) Setup an alias for pynovel by adding the following line to your .zshrc (or other relevant shell config files)
alias pynovel="pynovel.sh"
- Create your config file by running "pynovel -e"
pynovel -e
- 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
- My config
pynovel_editor=nvim
download_dir="$HOME/Documents/Novels" ### "$HOME" is your root directory path.
For example its the "~" on macOS.
- 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