From 2b85aba8c424f672f8a239c2b232991bcaa501ca Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 06:40:54 +0000 Subject: [PATCH] style: auto format --- lib/routes/jiemian/common.tsx | 1 - lib/routes/thepaper/utils.tsx | 26 +++++++++++++------------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/lib/routes/jiemian/common.tsx b/lib/routes/jiemian/common.tsx index 0c54b1468..adfafccf9 100644 --- a/lib/routes/jiemian/common.tsx +++ b/lib/routes/jiemian/common.tsx @@ -86,7 +86,6 @@ export const handler = async (ctx): Promise => { } return descContent.html(); })(), - }); item.author = content('span.author') .first() diff --git a/lib/routes/thepaper/utils.tsx b/lib/routes/thepaper/utils.tsx index 9e591f9de..8d3b40c84 100644 --- a/lib/routes/thepaper/utils.tsx +++ b/lib/routes/thepaper/utils.tsx @@ -61,20 +61,20 @@ export default { category: [...(contentDetail.tagList?.map((t) => t.tag) ?? []), contentDetail?.nodeInfo?.name ?? []], pubDate, author: contentDetail.author || '', -// media: { -// content: { -// url: item.pic || contentDetail.videos?.coverUrl || contentDetail.bigPic, -// }, -// thumbnails: { -// url: item.sharePic || contentDetail.sharePic, -// }, -// }, + // media: { + // content: { + // url: item.pic || contentDetail.videos?.coverUrl || contentDetail.bigPic, + // }, + // thumbnails: { + // url: item.sharePic || contentDetail.sharePic, + // }, + // }, }; -// if (contentDetail.voiceInfo?.isHaveVoice) { -// rss_item.enclosure_type = 'audio/mpeg'; -// rss_item.enclosure_url = contentDetail.voiceInfo.voiceSrc; -// rss_item.itunes_item_image = item.pic || contentDetail.videos?.coverUrl; -// } + // if (contentDetail.voiceInfo?.isHaveVoice) { + // rss_item.enclosure_type = 'audio/mpeg'; + // rss_item.enclosure_url = contentDetail.voiceInfo.voiceSrc; + // rss_item.itunes_item_image = item.pic || contentDetail.videos?.coverUrl; + // } return rss_item; }); },