chore: update version strings in headers and context json

This commit is contained in:
2025-09-04 21:45:18 +02:00
parent 3e7589aea6
commit 5e655ddd2c

View File

@@ -66,7 +66,7 @@ stage1_body = {
stage2_headers = { stage2_headers = {
"Connection": "keep-alive", "Connection": "keep-alive",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"Accept-Language": "en-us,en;q=0.5", "Accept-Language": "en-us,en;q=0.5",
"Sec-Fetch-Mode": "navigate", "Sec-Fetch-Mode": "navigate",
@@ -75,13 +75,13 @@ stage2_headers = {
stage3_headers = { stage3_headers = {
"Connection": "keep-alive", "Connection": "keep-alive",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"Accept-Language": "en-us,en;q=0.5", "Accept-Language": "en-us,en;q=0.5",
"Sec-Fetch-Mode": "navigate", "Sec-Fetch-Mode": "navigate",
"Content-Type": "application/json", "Content-Type": "application/json",
"X-Youtube-Client-Name": "1", "X-Youtube-Client-Name": "1",
"X-Youtube-Client-Version": "2.20250226.01.00", "X-Youtube-Client-Version": "2.20250829.01.00",
"Origin": "https://www.youtube.com", "Origin": "https://www.youtube.com",
"Accept-Encoding": "gzip, deflate, br", "Accept-Encoding": "gzip, deflate, br",
"Cookie": "PREF=hl=en&tz=UTC; SOCS=CAI" "Cookie": "PREF=hl=en&tz=UTC; SOCS=CAI"
@@ -93,7 +93,7 @@ stage3_body = {
"client": "client":
{ {
"clientName": "WEB", "clientName": "WEB",
"clientVersion": "2.20250226.01.00", "clientVersion": "2.20250829.01.00",
"hl": "en", "hl": "en",
"timeZone": "UTC", "timeZone": "UTC",
"utcOffsetMinutes": 0 "utcOffsetMinutes": 0
@@ -111,9 +111,9 @@ web_context_dict = {
'gl': 'US', 'gl': 'US',
'deviceMake': '', 'deviceMake': '',
'deviceModel': '', 'deviceModel': '',
'userAgent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0,gzip(gfe)', 'userAgent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0,gzip(gfe)',
'clientName': 'WEB', 'clientName': 'WEB',
'clientVersion': '2.20250226.01.00', 'clientVersion': '2.20250829.01.00',
'osName': 'Windows', 'osName': 'Windows',
'osVersion': '10.0', 'osVersion': '10.0',
'screenPixelDensity': 2, 'screenPixelDensity': 2,
@@ -121,7 +121,7 @@ web_context_dict = {
'screenDensityFloat': 2, 'screenDensityFloat': 2,
'userInterfaceTheme': 'USER_INTERFACE_THEME_LIGHT', 'userInterfaceTheme': 'USER_INTERFACE_THEME_LIGHT',
'browserName': 'Firefox', 'browserName': 'Firefox',
'browserVersion': '135.0', 'browserVersion': '142.0',
'acceptHeader': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'acceptHeader': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'utcOffsetMinutes': 0, 'utcOffsetMinutes': 0,
} }