mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
format
This commit is contained in:
@@ -24,13 +24,11 @@ module.exports = async (ctx) => {
|
||||
ctx.state.data = {
|
||||
title: `${personName}参与的作品`,
|
||||
link,
|
||||
item: works.map((c) => {
|
||||
return {
|
||||
title: `${personName}以${c.job}的身份参与了作品《${c.work}》`,
|
||||
description: c.workInfo,
|
||||
link: c.workURL,
|
||||
pubDate: new Date(c.workInfo.substring(0, c.workInfo.indexOf(' /'))).toUTCString(),
|
||||
};
|
||||
}),
|
||||
item: works.map((c) => ({
|
||||
title: `${personName}以${c.job}的身份参与了作品《${c.work}》`,
|
||||
description: c.workInfo,
|
||||
link: c.workURL,
|
||||
pubDate: new Date(c.workInfo.substring(0, c.workInfo.indexOf(' /'))).toUTCString(),
|
||||
})),
|
||||
};
|
||||
};
|
||||
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"text": [
|
||||
"/"
|
||||
],
|
||||
"text": ["/"],
|
||||
"rss": [
|
||||
"/rsshub/rss",
|
||||
"/bilibili/bangumi/21680",
|
||||
|
||||
Reference in New Issue
Block a user