「Videos」- 从视频网站提取下载链接

解决方案

LOL电影天堂 | https://www.993dy.com/

var linkList = ""
$x('//input[contains(@value , "thunder://")]').forEach(function(input){linkList+=input.value})
console.log(linkList)

电影天堂 | http://www.k1k.cc/

在 Console 中,使用如下代码,直接执行以提取页面的 .mp4 下载链接:

list=""
$x("//a[contains(text(), 'S10E') and contains(@href, 'magnet:')]").forEach(
    element => list = list + decodeURI(element.href) + '\n'
)
console.log(list)

使用如下 Shell 代码进行下载(或者,复制到其他下载工具中):

list=""
$x("//a[contains(@title, '本地下载') and contains(@href, '.mp4')]").forEach(
    element => list = list + decodeURI(element.href) + '\n'
)
console.log(list)

decodeURI:这里的代码通常在 Console 中执行,如果行过长将显示省略号,导致链接无法使用。所以使用 decodeURI 的方式来缩短。

XVIDEOS | https://www.xvideos.com

通过 TemperMonkey 脚本(./xvideos-axel.js)直接生成 axel 下载链接。

参考文献

xvideos download linker