Compare commits

...

2 Commits

Author SHA1 Message Date
Émilien (perso)
e3d18af37b
fix comment about using web embed as a fallback 2024-09-20 00:39:07 +02:00
Émilien (perso)
0517ace1ce
Update to latest version WEB_CREATOR 2024-09-20 00:29:30 +02:00
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",