diff --git a/lib/routes/universities/slu/utils.js b/lib/routes/universities/slu/utils.js index a0d6fdf73ebff9..0f73faa9e53fcf 100644 --- a/lib/routes/universities/slu/utils.js +++ b/lib/routes/universities/slu/utils.js @@ -7,6 +7,9 @@ module.exports = { const response = await got({ method: 'get', url, + https: { + rejectUnauthorized: false, + }, }); const $ = cheerio.load(response.data); // 获取列表 @@ -40,6 +43,9 @@ module.exports = { const detail_response = await got({ method: 'get', url: href, + https: { + rejectUnauthorized: false, + }, }); const $ = cheerio.load(detail_response.data); const title = $('title').text();