mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-12 16:20:27 +08:00
feat: 推特列表时间线添加author字段 (#3210)
This commit is contained in:
@@ -102,6 +102,7 @@ const ProcessFeed = ({ data = [] }, showAuthor = false) => {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
title: `${showAuthor ? item.user.name + ': ' : ''}${item.in_reply_to_screen_name ? 'Re ' : ''}${replaceBreak(item.full_text)}`,
|
title: `${showAuthor ? item.user.name + ': ' : ''}${item.in_reply_to_screen_name ? 'Re ' : ''}${replaceBreak(item.full_text)}`,
|
||||||
|
author: item.user.name,
|
||||||
description: `${showAuthor ? `<img width="15px" src="${item.user.profile_image_url_https}"><strong>${item.user.name}:</strong><br><br>` : ''}${item.in_reply_to_screen_name ? 'Re ' : ''}${
|
description: `${showAuthor ? `<img width="15px" src="${item.user.profile_image_url_https}"><strong>${item.user.name}:</strong><br><br>` : ''}${item.in_reply_to_screen_name ? 'Re ' : ''}${
|
||||||
item.full_text
|
item.full_text
|
||||||
}${url}${img}${quote}`,
|
}${url}${img}${quote}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user