Closed wowotaa closed 1 year ago
抱歉,這網站我知道,但是我這邊連不上,所以做不了...
手機端嘗試成功連上,需要翻進去...,PC端我再試試,不然手機沒法寫規則。
谢谢大神
发送自我的盖乐世
-------- 原始信息 -------- 发件人: skofkyo @.> 日期: 2023/9/24 下午5:05 (GMT+08:00) 收件人: skofkyo/AutoPager @.> 抄送: wowotaa @.>, Author @.> 主题: Re: [skofkyo/AutoPager] 希望大神适配卡卡美女网 (Issue #1)
手C端L成功B上,需要翻M去...,PC端我再,不然手C]法t。
― Reply to this email directly, view it on GitHubhttps://github.com/skofkyo/AutoPager/issues/1#issuecomment-1732525748, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCJCZDWENE54Y2H5DYZWSD3X37ZVTANCNFSM6AAAAAA5EGXM6U. You are receiving this because you authored the thread.Message ID: @.***>
規則寫好了,你可以修改腳本加進去。
{ name: "卡卡美女网 www.kaka234.cc m.kaka234.cc", reg: /https?:\/\/(www|m)\.kaka234\.cc\/HTM\/pic\/\w+\/\d+\/\d+\/\d+\.html/i, imgs: () => { let max; try { max = fun.geT(".dede_pages li>a,.article_page li>a").match(/\d+/)[0]; } catch (e) { max = 1 } return fun.getImg(".content img,.ArticleImageBox img", max, 9); }, insertImg: ["//div[@class='content'] | //div[div[@class='ArticleImageBox']]", 2], autoDownload: [0], next: () => { let next = fun.ge("//li[contains(text(),'上一篇')]/a"); if (next) { return next.href } else { return null } }, prev: 1, customTitle: () => { return fun.geT(".Title>h1,.PsBox"); }, css: ".m_adv{display:none!important}", category: "nsfw1" }
腳本還有其他紀錄的細節要修改,腳本會過段時間再更新。
真的太感谢了
发送自我的盖乐世
-------- 原始信息 -------- 发件人: skofkyo @.> 日期: 2023/9/24 下午6:32 (GMT+08:00) 收件人: skofkyo/AutoPager @.> 抄送: wowotaa @.>, Author @.> 主题: Re: [skofkyo/AutoPager] 希望大神适配卡卡美女网 (Issue #1)
t好了,你可以修改_本加M去。
{
name: "卡卡美女网 www.kaka234.cc m.kaka234.cc",
reg: /https?:\/\/(www|m)\.kaka234\.cc\/HTM\/pic\/\w+\/\d+\/\d+\/\d+\.html/i,
imgs: () => {
let max;
try {
max = fun.geT(".dede_pages li>a,.article_page li>a").match(/\d+/)[0];
} catch (e) {
max = 1
}
return fun.getImg(".content img,.ArticleImageBox img", max, 9);
},
insertImg: ***@***.***='content'] | ***@***.***='ArticleImageBox']]", 2],
autoDownload: [0],
next: () => {
let next = fun.ge("//li[contains(text(),'上一篇')]/a");
if (next) {
return next.href
} else {
return null
}
},
prev: 1,
customTitle: () => {
return fun.geT(".Title>h1,.PsBox");
},
css: ".m_adv{display:none!important}",
category: "nsfw1"
}
_本有其他o的要修改,_本^段rg再更新。
― Reply to this email directly, view it on GitHubhttps://github.com/skofkyo/AutoPager/issues/1#issuecomment-1732540935, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCJCZDX3AVMXIA5SJDOAJB3X4AD4FANCNFSM6AAAAAA5EGXM6U. You are receiving this because you authored the thread.Message ID: @.***>
https://m.kaka234.cc/