Lightweight web scraping script. Fetch and download main textual content from the current page, provide special support for novels
< Commentaires sur DownloadAllContent
如果想要下载全部的话,用ul.list>li>a
就行。
如果只想要下载俞亮/时光的话,可以用这个规则筛选并重新排序
body>>let title="俞亮/时光",chs=[];item.querySelectorAll("ul.list>li>a").forEach(a=>{if(a.children[0].innerText.indexOf(title)!=-1)chs.push(a)});return chs.reverse();
收到,谢谢大大,我去试试,麻烦你了
大大,能否求个https://kuencar.lofter.com/view这类专栏文章的下载规则?