Skip to content

Invidious is an alternative front-end to YouTube

Update latest version WEB_CREATOR + fix comment web embed (#4930)

Émilien (perso)a021b93063f3
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)
new_player_response = nil
- # Second try in case WEB_EMBEDDED_PLAYER doesn't work with po_token.
+ # Second try in case WEB_CREATOR doesn't work with po_token.
# Only trigger if reason found and po_token configured.
if reason && CONFIG.po_token
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
ClientType::WebCreator => {
name: "WEB_CREATOR",
name_proto: "62",
- version: "1.20220918",
+ version: "1.20240918.03.00",
os_name: "Windows",
os_version: WINDOWS_VERSION,
platform: "DESKTOP",