mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
Fix AP News article's title (#8086)
This commit is contained in:
@@ -23,7 +23,7 @@ module.exports = async (ctx) => {
|
||||
.slice(0, 5)
|
||||
.map((index, item) => {
|
||||
item = $(item);
|
||||
const title = item.find('h1[class^=Component-h1]').text();
|
||||
const title = item.find('h3[class^=Component-heading-]').text();
|
||||
const link = item.find('a[class^=Component-headline-]').attr('href');
|
||||
const pubDate = item.find('span[class^=Timestamp]').attr('title');
|
||||
const text = item.find('div[class^=content]').text();
|
||||
|
||||
Reference in New Issue
Block a user