rss: small fixes
This commit is contained in:
parent
d92170bdd7
commit
de48f8280d
|
|
@ -13,7 +13,7 @@ module.exports = async (ctx) => {
|
|||
});
|
||||
|
||||
ctx.state.data = {
|
||||
title: '豆瓣同城-热门活动',
|
||||
title: '豆瓣同城-热门活动-locationId',
|
||||
link: referer,
|
||||
item: response.data.subject_collection_items.map(({ title, url, date, cover, subtype, info, price_range }) => {
|
||||
const pubDate = new Date(date).toUTCString();
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ module.exports = async (ctx) => {
|
|||
|
||||
ctx.state.data = {
|
||||
title: '知乎想法热榜',
|
||||
link: 'https://www.zhihu.com/',
|
||||
description: '整点更新',
|
||||
item: data.map(({ target }) => {
|
||||
const pubDate = new Date(target.created * 1000).toUTCString();
|
||||
|
|
|
|||
Loading…
Reference in New Issue