mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: maoyan upcoming (#3665)
This commit is contained in:
@@ -4,6 +4,9 @@ module.exports = async (ctx) => {
|
||||
const response = await got({
|
||||
method: 'get',
|
||||
url: 'https://m.maoyan.com/ajax/comingList?token=',
|
||||
headers: {
|
||||
cookie: '_lxsdk_cuid=16c04ba8492c8-00efb7395fe43-4c312272-e1000-16c04ba8492c8;',
|
||||
},
|
||||
});
|
||||
const data = response.data.coming;
|
||||
const items = await Promise.all(
|
||||
@@ -16,9 +19,9 @@ module.exports = async (ctx) => {
|
||||
);
|
||||
|
||||
ctx.state.data = {
|
||||
title: `猫眼电影 - 正在热映`,
|
||||
title: `猫眼电影 - 即将上映`,
|
||||
link: `https://maoyan.com/films?showType=2`,
|
||||
description: `猫眼电影 - 正在热映`,
|
||||
description: `猫眼电影 - 即将上映`,
|
||||
item: items,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user