modified: model/Pixiv.js

This commit is contained in:
yeyang
2023-01-31 14:01:43 +08:00
parent b034a8c953
commit 9428df3f69

View File

@@ -80,8 +80,9 @@ export default new class Pixiv {
}
if (this.proxy == 'i.pximg.net') {
this.headers = {
host: 'i.pximg.net',
referer: 'https://www.pixiv.net/'
Host: 'i.pximg.net',
Referer: 'https://www.pixiv.net/',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.46'
}
} else {
delete this.headers