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

* Update to latest version WEB_CREATOR

* fix comment about using web embed as a fallback
This commit is contained in:
Émilien (perso) 2024-09-20 02:05:41 +02:00 committed by GitHub
parent d9df90b5e3
commit a021b93063
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ def extract_video_info(video_id : String)
new_player_response = nil 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. # Only trigger if reason found and po_token configured.
if reason && CONFIG.po_token if reason && CONFIG.po_token
client_config.client_type = YoutubeAPI::ClientType::WebEmbeddedPlayer client_config.client_type = YoutubeAPI::ClientType::WebEmbeddedPlayer

View File

@ -84,7 +84,7 @@ module YoutubeAPI
ClientType::WebCreator => { ClientType::WebCreator => {
name: "WEB_CREATOR", name: "WEB_CREATOR",
name_proto: "62", name_proto: "62",
version: "1.20220918", version: "1.20240918.03.00",
os_name: "Windows", os_name: "Windows",
os_version: WINDOWS_VERSION, os_version: WINDOWS_VERSION,
platform: "DESKTOP", platform: "DESKTOP",