fix: 修复cnbeta内容提取不完整bug (#2334)
* fix: 修复cnbeta内容提取不完整bug * Update utils.js * Update utils.js
This commit is contained in:
parent
6023bb96bb
commit
45cfbebb52
|
|
@ -30,9 +30,12 @@ async function load(link) {
|
|||
});
|
||||
|
||||
// 提取内容
|
||||
const description = $('.article-content').html();
|
||||
const description = $('.article-summary p').html() + '<br>' + $('.article-content').html();
|
||||
|
||||
return { description, pubDate };
|
||||
// 稿源
|
||||
const author = $('.source a span').text();
|
||||
|
||||
return { description, pubDate, author };
|
||||
}
|
||||
|
||||
const ProcessFeed = async (list, caches) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue