From aeef6476868f8df95ef4b242b1731d5fa1754cb6 Mon Sep 17 00:00:00 2001 From: Henry Wang Date: Thu, 1 Nov 2018 13:31:24 +0000 Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E5=9F=BA=E7=99=BE=E7=A7=91=EF=BC=9A?= =?UTF-8?q?=E4=BC=98=E5=85=88=E9=87=87=E7=94=A8=E7=AE=80=E4=BD=93=E4=B8=AD?= =?UTF-8?q?=E6=96=87=20(#1038)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/wikipedia/mainland.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/routes/wikipedia/mainland.js b/routes/wikipedia/mainland.js index 6cad53677..279ce6b2a 100644 --- a/routes/wikipedia/mainland.js +++ b/routes/wikipedia/mainland.js @@ -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);