This commit is contained in:
MuYu
2023-11-28 22:29:50 +08:00
committed by GitHub
parent 89ce36ffcf
commit 36623fe1f7
+1 -1
View File
@@ -20,7 +20,7 @@ module.exports = async (ctx) => {
const url = `https://help.aliyun.com/noticelist/${typeMap[type] || typeMap[0]}.html`;
const response = await got({ method: 'get', url });
const $ = cheerio.load(response.data);
const list = $('ul > li.y-clear')
const list = $('ul > li.notice-li')
.map((i, e) => {
const element = $(e);
const title = element.find('a').text().trim();