nite b0f8f31dcc feat: Add concurrency and headless options for downloads
This commit introduces new features for controlling the download process:

-   **Concurrency**: Users can now specify the number of concurrent volume downloads using the `--concurrency` flag. This significantly speeds up the download of entire novels.
-   **Headless Mode**: A `--headless` flag has been added to control whether the browser operates in headless mode (without a visible UI). This is useful for debugging or running in environments without a display.

**Changes include:**

-   Updated `download` command to accept `--concurrency` and `--headless` flags.
-   Refactored `bilinovel` downloader to support `BilinovelNewOption` for configuring headless mode and concurrency.
-   Implemented a page pool and concurrency control mechanism within the `bilinovel` downloader to manage concurrent browser page usage.
-   Added `DownloadNovel` and `DownloadVolume` methods to the `bilinovel` downloader, utilizing goroutines and wait groups for parallel processing.
-   Updated `.vscode/launch.json` with new configurations for testing novel and volume downloads with the new options.
2025-10-06 10:20:36 +11:00
2025-08-24 16:53:05 +10:00
2025-04-20 01:13:51 +10:00
2025-04-20 01:13:51 +10:00
2025-08-24 16:53:05 +10:00

Bilinovel Downloader

这是一个用于从 Bilinovel 下载和生成轻小说 EPUB 电子书的工具。 生成的 EPUB 文件完全符合 EPUB 标准,可以在 Calibre 检查中无错误通过。

使用示例

  1. 下载整本 https://www.bilinovel.com/novel/2388.html

    bilinovel-downloader download -n 2388
    
  2. 下载单卷 https://www.bilinovel.com/novel/2388/vol_84522.html

    bilinovel-downloader download -n 2388 -v 84522
    
  3. 对自动生成的 epub 格式不满意可以自行修改后使用命令打包

    bilinovel-downloader pack -d <目录路径>
    
Description
bilinovel 轻小说下载工具
Readme MIT 3.2 MiB
Languages
Go 95.6%
templ 3.5%
CSS 0.9%