From d7b01d2ab7b4a9d1c3dabb5d19518b4a0683dbeb Mon Sep 17 00:00:00 2001 From: James Shiffer Date: Tue, 29 Oct 2024 10:43:03 -0700 Subject: [PATCH] Revert "Update latest version WEB_CREATOR + fix comment web embed (#4930)" This reverts commit a021b93063f3956fc9bb3cce0fb56ea252422738. --- src/invidious/videos/parser.cr | 2 +- src/invidious/yt_backend/youtube_api.cr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/invidious/videos/parser.cr b/src/invidious/videos/parser.cr index fb8935d9..c2367cc1 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_CREATOR doesn't work with po_token. + # Second try in case WEB_EMBEDDED_PLAYER 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 baa3cd92..99ec6e63 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.20240918.03.00", + version: "1.20220918", os_name: "Windows", os_version: WINDOWS_VERSION, platform: "DESKTOP",