维基百科:优先采用简体中文 (#1038)

This commit is contained in:
Henry Wang 2018-11-01 13:31:24 +00:00 committed by DIYgod
parent 7d5f0958c6
commit aeef647686
1 changed files with 3 additions and 0 deletions

View File

@ -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);