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
pull/4934/head
Émilien (perso) 2024-09-20 02:05:41 +02:00 zatwierdzone przez GitHub
rodzic d9df90b5e3
commit a021b93063
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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",