mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
维基百科:优先采用简体中文 (#1038)
This commit is contained in:
@@ -7,6 +7,9 @@ module.exports = async (ctx) => {
|
||||
const response = await axios({
|
||||
method: 'get',
|
||||
url,
|
||||
headers: {
|
||||
'Accept-Language': 'zh-Hans;q=0.9,zh-Hant;q=0.8',
|
||||
},
|
||||
});
|
||||
|
||||
const $ = cheerio.load(response.data);
|
||||
|
||||
Reference in New Issue
Block a user