mirror of
https://github.com/hjdhnx/dr_py.git
synced 2024-11-21 08:28:24 -06: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); |