Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 1.45 KB

README.md

File metadata and controls

53 lines (40 loc) · 1.45 KB

jjwxc-downloader


English | 中文

A Python script to download free chapters of a novel from jjwxc in the txt format. It is used for educational purposes only. Please do not use it for commercial purposes.

Prerequisite

  • Google Chrome
  • ChromeDriver (same version as Google Chrome)

You may check the version of Google Chrome in the Settings.

version_of_google_chrome

Check and download the correct ChromeDriver at https://googlechromelabs.github.io/chrome-for-testing.

After downloading the zip file for ChromeDriver, unzip it and place the chromedriver executable in the same folder as the jjwxc-downloader script.

jjwxc-downloader/
├─ jjwxc.py
├─ chromedriver

On Windows, the chromedriver executable should be named chromedriver.exe.

Change log

2024-01-08

Added

  • download book cover
  • txt2epub.py, jjwxc-epub.py for export epub file with book cover, chapters outline

How to run

  1. Install the dependencies
pip3 install -r requirements.txt
  1. Run
python3 jjwxc.py
  1. Enter the novelid you want to download

    You can find novelid in the url of the novel.

Note

Each chapter name begins with ##. This is for later convenience, such as adding indexes when converting the txt to epub.

Future work

  1. Add conversion from txt to epub ✅
  2. Add GUI

Please add issue if you need any assistance.