mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-11 07:40:26 +08:00
arraybuffer to buffer
This commit is contained in:
@@ -36,7 +36,7 @@ module.exports = async (ctx) => {
|
||||
}
|
||||
|
||||
const response = await axios.get(itemUrl, {
|
||||
responseType: 'arraybuffer',
|
||||
responseType: 'buffer',
|
||||
});
|
||||
|
||||
response.data = iconv.decode(response.data, 'gbk');
|
||||
|
||||
Reference in New Issue
Block a user