Skip to content

Commit

Permalink
fix(route): RSSHub sponsors title and description (DIYgod#9500)
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyRL authored and RikkaBlue committed Apr 9, 2022
1 parent bf9a652 commit f16728c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/v2/rsshub/sponsors.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ module.exports = async (ctx) => {
normal
.map((index, item) => {
item = $(item);
item.find('span').remove();
const title = item.text();
const link = item.attr('href') || 'https://docs.rsshub.app/';
return {
Expand Down

0 comments on commit f16728c

Please sign in to comment.