From 2ec32133c7efbc4749db8343a5b12b1b67a35a56 Mon Sep 17 00:00:00 2001 From: tomasdenhouting Date: Mon, 19 Feb 2024 12:03:26 +0100 Subject: [PATCH] Update youtube-studio-api.js Bump user-agent version --- src/youtube-studio-api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/youtube-studio-api.js b/src/youtube-studio-api.js index c77c2c7..5af93a8 100644 --- a/src/youtube-studio-api.js +++ b/src/youtube-studio-api.js @@ -7,7 +7,7 @@ const {VM} = require('vm2'); const uploadFile = require('./upload'); const YT_STUDIO_URL = 'https://studio.youtube.com'; -const USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36'; +const USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36'; const IT_WILL_BE_SET_DURING_REQUEST_BUILD = null; const generateSAPISIDHASH = (date, sapisid) => `${date}_${sha1(`${date} ${sapisid} ${YT_STUDIO_URL}`)}`