modified: model/Pixiv.js
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user