mirror of
https://github.com/letian1650/N3RD.git
synced 2025-01-25 03:59:38 +08: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 |