Greasy Fork is available in English.
任意网页提供部分漫画网站搜索;漫画分章节下载(可直接下载/压缩下载/拼接下载),可用于动漫之家、极速漫画、腾讯漫画、哔哩哔哩等35多个网站;对个别漫画网站修改阅读样式;可按需编写定义规则JSON导入以支持其他漫画网站
[{ domain: 'www.cartoonmad.com', homepage: 'https://www.cartoonmad.com/', webName: '动漫狂', comicNameCss: 'body > table > tbody > tr:nth-child(1) > td:nth-child(2) > table > tbody > tr:nth-child(3) > td:nth-child(2) > a:nth-child(6)', chapterCss: '#info table[align]', readtype: 1, getImgs: `function(context) { let doc = new DOMParser().parseFromString(context, 'text/html'); let imgDir = doc.querySelector('img[oncontextmenu]').src.match(/.+\\//)[0]; let max = doc.querySelector('.onpage').parentNode.lastElementChild.previousElementSibling.innerText; let arr = []; for (let i = 1; i <= max; i++) { let imgSrc = imgDir + String(i).padStart(3, '0'); arr.push(imgSrc); } return arr; }` }]
导入规则刷新页面后就能用了
[{ domain: 'www.cartoonmad.com', homepage: 'https://www.cartoonmad.com/', webName: '动漫狂', comicNameCss: 'body > table > tbody > tr:nth-child(1) > td:nth-child(2) > table > tbody > tr:nth-child(3) > td:nth-child(2) > a:nth-child(6)', chapterCss: '#info table[align]', readtype: 1, getImgs: `function(context) { let doc = new DOMParser().parseFromString(context, 'text/html'); let imgDir = doc.querySelector('img[oncontextmenu]').src.match(/.+\\//)[0]; let max = doc.querySelector('.onpage').parentNode.lastElementChild.previousElementSibling.innerText; let arr = []; for (let i = 1; i <= max; i++) { let imgSrc = imgDir + String(i).padStart(3, '0'); arr.push(imgSrc); } return arr; }` }]导入规则刷新页面后就能用了
谢谢大佬
大佬,请问能匹配"https://www.cartoonmad.com"这个网站吗?