mirror of
https://github.com/hjdhnx/dr_py.git
synced 2024-11-21 08:28:24 -06:00
17 lines
509 B
JavaScript
17 lines
509 B
JavaScript
js:
|
|
pd = jsp.pd;
|
|
let url=pd(html,".bookbutton&&a&&href");
|
|
log(url);
|
|
html = request(url);
|
|
let v=pd(html,'.booksite&&script&&Html');
|
|
var document={};
|
|
var VideoListJson;
|
|
// log(v);
|
|
VideoListJson=eval(v.split('VideoListJson=')[1].split(',urlinfo')[0]);
|
|
// 截取剔除eval代码js不兼容的部分 quickjs不支持没定义变量的情况下直接赋值!!!
|
|
// v = v.split('VideoListJson=')[1].split(',urlinfo')[0];
|
|
// eval(v);
|
|
log(typeof(VideoListJson));
|
|
let list1=VideoListJson[0][1];
|
|
LISTS=[list1];
|
|
log(LISTS); |