Fix youtube breakage hopefully

This commit is contained in:
2026-03-03 08:53:55 -06:00
parent ecb1496a54
commit 90f33d455f
3 changed files with 8 additions and 8 deletions

View File

@@ -2,12 +2,12 @@
"context": { "context": {
"client": { "client": {
"clientName": "ANDROID", "clientName": "ANDROID",
"clientVersion": "19.28.35", "clientVersion": "21.03.36",
"clientScreen": "WATCH", "clientScreen": "WATCH",
"platform": "MOBILE", "platform": "MOBILE",
"osName": "Android", "osName": "Android",
"osVersion": "15", "osVersion": "16",
"androidSdkVersion": 35, "androidSdkVersion": 36,
"hl": "en-GB", "hl": "en-GB",
"gl": "US", "gl": "US",
"utcOffsetMinutes": 0 "utcOffsetMinutes": 0

View File

@@ -2,13 +2,13 @@
"context": { "context": {
"client": { "client": {
"clientName": "ANDROID", "clientName": "ANDROID",
"clientVersion": "19.28.35", "clientVersion": "21.03.36",
"clientScreen": "WATCH", "clientScreen": "WATCH",
"platform": "MOBILE", "platform": "MOBILE",
"visitorData": "VISITOR_DATA", "visitorData": "VISITOR_DATA",
"osName": "Android", "osName": "Android",
"osVersion": "15", "osVersion": "16",
"androidSdkVersion": 35, "androidSdkVersion": 36,
"hl": "en-GB", "hl": "en-GB",
"gl": "US", "gl": "US",
"utcOffsetMinutes": 0 "utcOffsetMinutes": 0

View File

@@ -1677,7 +1677,7 @@ class TYTD.Downloader {
{ {
Key = "User-Agent", Key = "User-Agent",
Value = "com.google.android.youtube/19.28.35 (Linux; U; Android 15; GB) gzip" Value = "com.google.android.youtube/21.03.36 (Linux; U; Android 16; GB) gzip"
} }
], ],
Body = Net.Http.TextHttpRequestBody(embed("request.json").ToString(),"application/json") Body = Net.Http.TextHttpRequestBody(embed("request.json").ToString(),"application/json")
@@ -1695,7 +1695,7 @@ class TYTD.Downloader {
RequestHeaders = [ RequestHeaders = [
{ {
Key = "User-Agent", Key = "User-Agent",
Value = "com.google.android.youtube/19.28.35 (Linux; U; Android 15; GB) gzip" Value = "com.google.android.youtube/21.03.36 (Linux; U; Android 16; GB) gzip"
}, },
], ],