mirror of
https://onedev.site.tesses.net/tytd2025
synced 2026-06-01 09:55:34 +00:00
Fix youtube breakage hopefully
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
"context": {
|
||||
"client": {
|
||||
"clientName": "ANDROID",
|
||||
"clientVersion": "19.28.35",
|
||||
"clientVersion": "21.03.36",
|
||||
"clientScreen": "WATCH",
|
||||
"platform": "MOBILE",
|
||||
"osName": "Android",
|
||||
"osVersion": "15",
|
||||
"androidSdkVersion": 35,
|
||||
"osVersion": "16",
|
||||
"androidSdkVersion": 36,
|
||||
"hl": "en-GB",
|
||||
"gl": "US",
|
||||
"utcOffsetMinutes": 0
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
"context": {
|
||||
"client": {
|
||||
"clientName": "ANDROID",
|
||||
"clientVersion": "19.28.35",
|
||||
"clientVersion": "21.03.36",
|
||||
"clientScreen": "WATCH",
|
||||
"platform": "MOBILE",
|
||||
"visitorData": "VISITOR_DATA",
|
||||
"osName": "Android",
|
||||
"osVersion": "15",
|
||||
"androidSdkVersion": 35,
|
||||
"osVersion": "16",
|
||||
"androidSdkVersion": 36,
|
||||
"hl": "en-GB",
|
||||
"gl": "US",
|
||||
"utcOffsetMinutes": 0
|
||||
|
||||
@@ -1677,7 +1677,7 @@ class TYTD.Downloader {
|
||||
{
|
||||
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")
|
||||
@@ -1695,7 +1695,7 @@ class TYTD.Downloader {
|
||||
RequestHeaders = [
|
||||
{
|
||||
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"
|
||||
},
|
||||
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user