小说下载器

一个可扩展的通用型小说下载器。

< Feedback on 小说下载器

Review: Good - script works

§
Posted: 25 Mei 2021

请问wenku8能不能让下载下来的每个章节名都带上卷名

bgmePembuat
§
Posted: 28 Mei 2021

使用如下自定义保存参数即可:

const saveOptions = {
        getchapterName: (chapter) => {
            if (chapter.chapterName) {
                if (chapter.sectionName) {
                    return `${chapter.sectionName} ${chapter.chapterName}`;
                } else {
                    return `${chapter.chapterName}`;
                }
            } else {
                if (chapter.sectionName) {
                    return `${chapter.sectionName} ${chapter.chapterNumber.toString()}`;
                } else {
                    return `${chapter.chapterNumber.toString()}`;
                }
            }
        }
    }

有关自定义保存参数,可参考README

§
Posted: 29 Mei 2021

成功,谢谢大佬

Post reply

Sign in to post a reply.