fix comment about using web embed as a fallback

This commit is contained in:
Émilien (perso) 2024-09-20 00:39:07 +02:00 committed by GitHub
parent 0517ace1ce
commit e3d18af37b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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