aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/invidious/videos/parser.cr2
-rw-r--r--src/invidious/yt_backend/youtube_api.cr2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/invidious/videos/parser.cr b/src/invidious/videos/parser.cr
index ca6500ed..811a0a03 100644
--- a/src/invidious/videos/parser.cr
+++ b/src/invidious/videos/parser.cr
@@ -106,7 +106,7 @@ def extract_video_info(video_id : String)
106 106
107 new_player_response = nil 107 new_player_response = nil
108 108
109 # Second try in case WEB_EMBEDDED_PLAYER doesn't work with po_token. 109 # Second try in case WEB_CREATOR doesn't work with po_token.
110 # Only trigger if reason found and po_token configured. 110 # Only trigger if reason found and po_token configured.
111 if reason && CONFIG.po_token 111 if reason && CONFIG.po_token
112 client_config.client_type = YoutubeAPI::ClientType::WebEmbeddedPlayer 112 client_config.client_type = YoutubeAPI::ClientType::WebEmbeddedPlayer
diff --git a/src/invidious/yt_backend/youtube_api.cr b/src/invidious/yt_backend/youtube_api.cr
index 99ec6e63..baa3cd92 100644
--- a/src/invidious/yt_backend/youtube_api.cr
+++ b/src/invidious/yt_backend/youtube_api.cr
@@ -84,7 +84,7 @@ module YoutubeAPI
84 ClientType::WebCreator => { 84 ClientType::WebCreator => {
85 name: "WEB_CREATOR", 85 name: "WEB_CREATOR",
86 name_proto: "62", 86 name_proto: "62",
87 version: "1.20220918", 87 version: "1.20240918.03.00",
88 os_name: "Windows", 88 os_name: "Windows",
89 os_version: WINDOWS_VERSION, 89 os_version: WINDOWS_VERSION,
90 platform: "DESKTOP", 90 platform: "DESKTOP",