mirror of
https://github.com/hjdhnx/dr_py.git
synced 2024-11-21 08:28:24 -06:00
9 lines
277 B
JavaScript
9 lines
277 B
JavaScript
js:
|
|
let ep=input.match(/ep=(\d+)/)[1];
|
|
let html=request(input);
|
|
let jsonA=jsp.pdfh(html,'#__NEXT_DATA__&&Html');
|
|
let data=JSON.parse(jsonA).props.pageProps.videoDetail.videoepisode.data;
|
|
let realUrl=data.filter(function(it){
|
|
return it.episode==ep
|
|
})[0].url;
|
|
input = realUrl |