fix: novel biquge, close #2317

This commit is contained in:
DIYgod
2019-06-04 18:49:47 +08:00
parent b87a98057f
commit 27d324b6e6
-4
View File
@@ -10,10 +10,6 @@ module.exports = async (ctx) => {
const response = await got({
method: 'get',
url: `${baseUrl}${id}/`,
headers: {
Host: 'www.biquge5200.com',
Referer: `${baseUrl}${id}/`,
},
// responseEncoding: 'gbk', //该配置项在 0.18版本中没有打包进去
responseType: 'buffer',
});