@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user