Change user agent

This commit is contained in:
Ryan Whytsell 2025-10-21 19:04:22 -04:00
parent 70c68e3593
commit da965f4324
Signed by: Epithium
GPG Key ID: 940AC18C08E925EA
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ const COOKIES_PATH = path.join(__dirname, '../../cookies.txt');
// Common args to avoid 403 errors
const getCommonArgs = () => {
const args = [
'--user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
'--referer', 'https://www.youtube.com/',
'--user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.7204.183 Safari/537.36',
'--proxy', 'ny_premium:pJTg94JCukVjz2b@107.152.43.179:3128',
'--extractor-retries', '5',
'--retries', '10'
];