Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

novel-downloader

bluelovers627ISC2.0.40TypeScript support: included

novel downloader for node-novel style , include site ( dmzj / wenku8 / syosetu / ...etc )

acg, alphapolis, cookie, crawler, dmzj, download, fetch, iqing, kakuyomu, node-novel, node-text, novel, r15, r18, session, sfacg, syosetu, text, txt, wenku8

readme

novel-downloader

novel downloader for node-novel style , include site ( dmzj / wenku8 / syosetu / ...etc )

npm install novel-downloader

demo

see test

import NovelSiteSyosetu from 'novel-downloader/src/site/syosetu';


(async () =>
{

    const Site = new NovelSiteSyosetu({
        outputDir: './temp',
    });

    console.log(Site);

    [
        //'https://novel18.syosetu.com/n1413cw/',

        'n6006cw',

    ].forEach(async function (value, index, array)
    {
        await Site.download(value, {
            //disableTxtdownload: true,
            //disableDownload: true,

            //noFirePrefix: true,
            //noFilePadend: true,
        }).then(function (novel)
        {
            console.log(novel);

            console.log(novel.novel_title);
        })
        ;
    });

})();

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.0.40 (2024-08-01)

🔖 Miscellaneous

2.0.39 (2024-08-01)

📦 Code Refactoring

🛠 Build System

📌 Dependencies

🔖 Miscellaneous

  • 新增 cookiestxt 的支援 (8a1054e)

2.0.38 (2024-01-30)

BREAKING CHANGES

  • use @lazy-cjk/fullhalf

🐛 Bug Fixes

📌 Dependencies

🔖 Miscellaneous

2.0.37 (2024-01-25)

🔖 Miscellaneous

2.0.36 (2024-01-25)

🐛 Bug Fixes

📌 Dependencies

2.0.35 (2023-09-14)

📦 Code Refactoring

📌 Dependencies

🔖 Miscellaneous

  • 增加一點點延遲, 讓他們的CF高興 (3ba83b4)

2.0.34 (2023-08-15)

🛠 Build System

📌 Dependencies

🔖 Miscellaneous

2.0.33 (2023-06-04)

BREAKING CHANGES

  • update deps

✨ Features

  • 鉛筆小說網 改用新域名 (02b44a9)

📦 Code Refactoring

  • use regexp-cjk-with-plugin-enabled (3275c40)

📌 Dependencies

🔖 Miscellaneous

2.0.32 (2021-07-23)

✨ Features

♻️ Chores

2.0.31 (2021-07-12)

✨ Features

  • 修正沒有下載任何章節內容時產生無法理解為什麼的錯誤 (aca0e83)

🔖 Miscellaneous

2.0.30 (2021-07-11)

♻️ Chores

2.0.29 (2021-07-06)

♻️ Chores

2.0.28 (2021-07-03)

🐛 Bug Fixes

  • 修正日期轉換 與 補回 tag 資訊 (afc4a85)
  • can't reuse createCryptoHash("md5") (a4b1148)
  • 修正 v4 相關的網址辨識問題 (79364f6)

📦 Code Refactoring

  • code splitting and move (0fb3de0)

🚨 Tests

🛠 Build System

🔖 Miscellaneous

TODO

  • fix me

http://nnv4api.muwai.com/novel/2784.json 網址無法讀取

2.0.27 (2021-02-04)

🐛 Bug Fixes

♻️ Chores

2.0.26 (2020-08-13)

🔖 Miscellaneous

2.0.25 (2020-08-03)

🛠 Build System

♻️ Chores

2.0.24 (2020-07-09)

♻️ Chores

2.0.23 (2020-06-24)

♻️ Chores

2.0.22 (2020-06-10)

Note: Version bump only for package novel-downloader

2.0.21 (2020-06-08)

Note: Version bump only for package novel-downloader

2.0.20 (2020-06-07)

Features

  • replace novel-text to @node-novel/layout` (de6681d)

2.0.19 (2020-06-07)

Features

2.0.18 (2020-06-07)

Features

2.0.17 (2020-04-29)

Bug Fixes

  • update deps for get cover (c91c40a)