DownloadAllContent

Lightweight web scraping script. Fetch and download main textual content from the current page, provide special support for novels

< Feedback on DownloadAllContent

Review: Good - script works

§
Posted: 25 Agustus 2022

大大,能否求个https://kuencar.lofter.com/view这类专栏文章的下载规则?

hoothinPembuat
§
Posted: 26 Agustus 2022

如果想要下载全部的话,用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();

§
Posted: 06 September 2022

收到,谢谢大大,我去试试,麻烦你了

Post reply

Sign in to post a reply.