mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-07 13:39:35 +08:00
fix: WEMP 路由 (#1656)
This commit is contained in:
@@ -41,16 +41,20 @@ module.exports = async (ctx) => {
|
||||
|
||||
const article = cheerio.load(response);
|
||||
|
||||
return {
|
||||
const single = {
|
||||
title: $(e)
|
||||
.find('.post-item__title')
|
||||
.text()
|
||||
.trim(),
|
||||
link: article('.post__orilink').attr('href'),
|
||||
link: article('.post__orilink')
|
||||
.last()
|
||||
.attr('href'),
|
||||
description: article('#content').html(),
|
||||
pubDate,
|
||||
author,
|
||||
};
|
||||
|
||||
return Promise.resolve(single);
|
||||
})
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user