mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
Add files via upload
添加作者信息
This commit is contained in:
@@ -30,11 +30,13 @@ module.exports = async (ctx) => {
|
|||||||
ctx.state.data = {
|
ctx.state.data = {
|
||||||
title: `${name} 关注的动态`,
|
title: `${name} 关注的动态`,
|
||||||
link: `https://t.bilibili.com`,
|
link: `https://t.bilibili.com`,
|
||||||
description: `${name} 关注的所有动态`,
|
description: `${name} 关注的动态`,
|
||||||
item: data.map((item) => {
|
item: data.map((item) => {
|
||||||
const parsed = JSONbig.parse(item.card);
|
const parsed = JSONbig.parse(item.card);
|
||||||
const data = parsed.item || parsed;
|
const data = parsed.item || parsed;
|
||||||
const origin = parsed.origin ? JSONbig.parse(parsed.origin) : null;
|
const origin = parsed.origin ? JSONbig.parse(parsed.origin) : null;
|
||||||
|
//作者
|
||||||
|
author: card.desc.user_profile.info.uname
|
||||||
|
|
||||||
// img
|
// img
|
||||||
let imgHTML = '';
|
let imgHTML = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user