chore: update version strings

This commit is contained in:
2025-09-21 21:16:05 +02:00
parent 3e84cf3443
commit be697bb572
2 changed files with 7 additions and 7 deletions

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:142.0) Gecko/20100101 Firefox/142.0", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.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:142.0) Gecko/20100101 Firefox/142.0", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.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.20250911.00.00", "X-Youtube-Client-Version": "2.20250919.00.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.20250911.00.00", "clientVersion": "2.20250919.00.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:142.0) Gecko/20100101 Firefox/142.0,gzip(gfe)', 'userAgent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0,gzip(gfe)',
'clientName': 'WEB', 'clientName': 'WEB',
'clientVersion': '2.20250911.00.00', 'clientVersion': '2.20250919.00.00',
'osName': 'Windows', 'osName': 'Windows',
'osVersion': '10.0', 'osVersion': '10.0',
'screenPixelDensity': 2, 'screenPixelDensity': 2,

View File

@@ -60,7 +60,7 @@ def getHeaders(caller="proxy"):
# NOTE: use ESR user-agent # NOTE: use ESR user-agent
# user_agent = 'Mozilla/5.0 (Windows NT 10.0; rv:130.0) Gecko/20100101 Firefox/130.0' # user_agent = 'Mozilla/5.0 (Windows NT 10.0; rv:130.0) Gecko/20100101 Firefox/130.0'
user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0' user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0'
if config[caller]['user-agent']: if config[caller]['user-agent']:
user_agent = config[caller]['user-agent'] user_agent = config[caller]['user-agent']