From be697bb5724b5dabab16dcb3120c7cfd59c72c8f Mon Sep 17 00:00:00 2001 From: sherl Date: Sun, 21 Sep 2025 21:16:05 +0200 Subject: [PATCH] chore: update version strings --- ythdd_extractor.py | 12 ++++++------ ythdd_globals.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ythdd_extractor.py b/ythdd_extractor.py index 0993d06..83d4d8d 100644 --- a/ythdd_extractor.py +++ b/ythdd_extractor.py @@ -66,7 +66,7 @@ stage1_body = { stage2_headers = { "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-Language": "en-us,en;q=0.5", "Sec-Fetch-Mode": "navigate", @@ -75,13 +75,13 @@ stage2_headers = { stage3_headers = { "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-Language": "en-us,en;q=0.5", "Sec-Fetch-Mode": "navigate", "Content-Type": "application/json", "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", "Accept-Encoding": "gzip, deflate, br", "Cookie": "PREF=hl=en&tz=UTC; SOCS=CAI" @@ -93,7 +93,7 @@ stage3_body = { "client": { "clientName": "WEB", - "clientVersion": "2.20250911.00.00", + "clientVersion": "2.20250919.00.00", "hl": "en", "timeZone": "UTC", "utcOffsetMinutes": 0 @@ -111,9 +111,9 @@ web_context_dict = { 'gl': 'US', 'deviceMake': '', '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', - 'clientVersion': '2.20250911.00.00', + 'clientVersion': '2.20250919.00.00', 'osName': 'Windows', 'osVersion': '10.0', 'screenPixelDensity': 2, diff --git a/ythdd_globals.py b/ythdd_globals.py index 9277b16..d44c6ff 100644 --- a/ythdd_globals.py +++ b/ythdd_globals.py @@ -60,7 +60,7 @@ def getHeaders(caller="proxy"): # 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; 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']: user_agent = config[caller]['user-agent']