diff --git a/lib/utils/init.js b/lib/utils/init.js index c9b8172..dfdfa51 100644 --- a/lib/utils/init.js +++ b/lib/utils/init.js @@ -116,11 +116,12 @@ async function downloadFileOnce(url, destPath, proxyUrl = null) { retry: { limit: 0 }, - headerGeneratorOptions: { - browsers: [{ name: 'firefox', minVersion: 100 }], - devices: ['desktop'], - locales: ['en-US'], - operatingSystems: ['windows'], + headerGeneratorOptions: null, + headers: { + 'user-agent': 'Wget/1.21.4 (linux-gnu)', + 'accept': '*/*', + 'accept-encoding': 'identity', + 'connection': 'keep-alive' } };