mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-04 11:07:54 +08:00
fix(route): change github/comments title format to '[author] commented' (#9006)
This commit is contained in:
@@ -35,7 +35,7 @@ module.exports = async (ctx) => {
|
||||
.map((_, item) => {
|
||||
item = $(item);
|
||||
return {
|
||||
title: item.find('div.edit-comment-hide').text().trim(),
|
||||
title: `${item.find('strong.css-truncate').text().trim()} commented`,
|
||||
description: art(path.join(__dirname, 'templates/comments-description.art'), {
|
||||
desc: item.find('div.edit-comment-hide').html(),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user