维基百科:优先采用简体中文 (#1038)
This commit is contained in:
parent
7d5f0958c6
commit
aeef647686
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue