Options
All
  • Public
  • Public/Protected
  • All
Menu

novel-downloader

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);
        })
        ;
    });

})();

Generated using TypeDoc