fix: 懂球帝早报报错 (#7746)

This commit is contained in:
Henry Wang
2021-06-22 14:39:38 +01:00
committed by GitHub
parent d84bb8473e
commit 2b164a362f

View File

@@ -117,7 +117,7 @@ const ProcessFeedType2 = (item, response) => {
runScripts: 'dangerously', runScripts: 'dangerously',
}); });
const data = dom.window.__NUXT__.data[1].newData; const data = dom.window.__NUXT__.data[0].newData;
if (Object.keys(data).length > 0) { if (Object.keys(data).length > 0) {
const body = ProcessVideo(cheerio.load(data.body)); const body = ProcessVideo(cheerio.load(data.body));