10图漫

任意网页提供部分漫画网站搜索;漫画分章节下载(可直接下载/压缩下载/拼接下载),可用于动漫之家、极速漫画、腾讯漫画、哔哩哔哩等35多个网站;对个别漫画网站修改阅读样式;可按需编写定义规则JSON导入以支持其他漫画网站

< Feedback on 10图漫

Review: Good - script works

§
Posted: 30-04-2024

大佬,goda漫画下载不了,显示网站无法匹配

§
Posted: 30-04-2024

规则

[{
    domain: 'cocolamanhua.com',
    homepage: 'https://cocolamanhua.com/',
    webName: 'GoDa漫画',
    comicNameCss: '.text-default-700 a',
    chapterCss: '#allchapterlist',
    readtype: 1,
    getImgs: `function(context) {
const domFn = (str) => new DOMParser().parseFromString(str, 'text/html');
let dom = domFn(context);
let dataE = dom.querySelector("#chapterContent");
let mid = dataE.dataset.ms;
let cid = dataE.dataset.cs;
let api = 'https://cocolamanhua.com/chapter/getcontent?m=' + mid + '&c=' + cid;
return fetch(api).then(res => res.text()).then(text => {
    let apiDom = domFn(text);
    let srcs = [...apiDom.querySelectorAll('.touch-manipulation img')].map(img => img.dataset.src ?? img.src);
    return [...new Set(srcs)];
});
    }`
}]

测试可行的目录
https://cocolamanhua.com/chapterlist/quanluocainiaozaiyishijiebeimoca-bonieesteponalegoredicestudio-a03

§
Posted: 01-05-2024

试过了,很成功,超级超级感谢您!

journey3510Author
§
Posted: 01-05-2024

👍👍👍

规则[{
domain: 'cocolamanhua.com',
homepage: 'https://cocolamanhua.com/',
webName: 'GoDa漫画',
comicNameCss: '.text-default-700 a',
chapterCss: '#allchapterlist',
readtype: 1,
getImgs: function(context) { const domFn = (str) => new DOMParser().parseFromString(str, 'text/html'); let dom = domFn(context); let dataE = dom.querySelector("#chapterContent"); let mid = dataE.dataset.ms; let cid = dataE.dataset.cs; let api = 'https://cocolamanhua.com/chapter/getcontent?m=' + mid + '&c=' + cid; return fetch(api).then(res => res.text()).then(text => { let apiDom = domFn(text); let srcs = [...apiDom.querySelectorAll('.touch-manipulation img')].map(img => img.dataset.src ?? img.src); return [...new Set(srcs)]; }); }
}]
测试可行的目录https://cocolamanhua.com/chapterlist/quanluocainiaozaiyishijiebeimoca-bonieesteponalegoredicestudio-a03

§
Posted: 02-05-2024

嗯嗯,收到,非常感谢作者大大!!

Post reply

Sign in to post a reply.