mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-16 16:44:53 +08:00
fix(route): fix xiaoyuzhou podcast smallPicUrl issue (#9218)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
module.exports = {
|
||||
'/': ['prnake', 'Maecenas'],
|
||||
'/podcast/:id': ['hondajojo'],
|
||||
'/podcast/:id': ['hondajojo', 'jtsang4'],
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = async (ctx) => {
|
||||
link: `https://www.xiaoyuzhoufm.com/episode/${item.eid}`,
|
||||
pubDate: parseDate(item.pubDate),
|
||||
description: item.shownotes,
|
||||
itunes_item_image: item.image.smallPicUrl,
|
||||
itunes_item_image: (item.image || item.podcast?.image)?.smallPicUrl,
|
||||
}));
|
||||
|
||||
ctx.state.data = {
|
||||
|
||||
Reference in New Issue
Block a user