Добавлен заголовок 'accept-encoding'

This commit is contained in:
Book Pauk
2022-12-04 15:52:14 +07:00
parent 0ddf18ec26
commit 105680e38a

View File

@@ -14,6 +14,7 @@ class FileDownloader {
let options = { let options = {
headers: { headers: {
'accept-encoding': 'gzip, compress, deflate',
'user-agent': userAgent, 'user-agent': userAgent,
timeout: 300*1000, timeout: 300*1000,
}, },