Greasy Fork is available in English.

10图漫

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

< 腳本10图漫的回應

評論:正評 - 腳本一切正常

§
發表於:2024-04-30

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

§
發表於:2024-04-30

规则

[{
    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

§
發表於:2024-05-01

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

journey3510作者
§
發表於:2024-05-01

👍👍👍

规则[{
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

§
發表於:2024-05-02

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

發表回覆

登入以回復