mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: 上海立信会计金融学院 HTTPS (#6446)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user