mirror of
https://github.com/letian1650/N3RD.git
synced 2025-01-24 19:45:01 +08:00
19 lines
577 B
JavaScript
19 lines
577 B
JavaScript
js:
|
|
var d = [];
|
|
let html=request(input);
|
|
let json = JSON.parse(html);
|
|
// print(json);
|
|
json.pageComponentList.forEach(function (it){
|
|
if (it.hasOwnProperty('commonData')) {
|
|
it = it.commonData;
|
|
d.push({
|
|
title: it.titleDTO.displayName,
|
|
img: it.posterDTO.vThumbUrl,
|
|
// desc: it.feature,
|
|
desc: it.stripeBottom,
|
|
content: it.updateNotice+' '+it.feature,
|
|
url: 'https://search.youku.com/api/search?appScene=show_episode&showIds=' + it.showId + '&appCaller=h5'
|
|
});
|
|
}
|
|
});
|
|
setResult(d); |