parent
8f8bc47ea0
commit
9fb68e77f5
|
|
@ -11,7 +11,7 @@ module.exports = async (ctx) => {
|
|||
$('td[width="30px"]').remove();
|
||||
$('td[width="195"]').remove();
|
||||
// ## 获取列表
|
||||
const list = $('.main_shadow > table > tbody > tr > td').get();
|
||||
const list = $('#container-2 > .inner .post1 > .con > ul > li ').get();
|
||||
// ## 定义输出的item
|
||||
const out = await Promise.all(
|
||||
// ### 遍历列表,筛选出自己想要的内容
|
||||
|
|
@ -37,7 +37,7 @@ module.exports = async (ctx) => {
|
|||
url: singleUrl,
|
||||
});
|
||||
const $ = cheerio.load(detail_response.data);
|
||||
const detail_content = $('.wp_articlecontent > .Article_Content').html();
|
||||
const detail_content = $('.wp_articlecontent').html();
|
||||
// ### 设置 RSS feed item
|
||||
const single = {
|
||||
title: title,
|
||||
|
|
|
|||
Loading…
Reference in New Issue