Invidious is an alternative front-end to YouTube
remove explicit usage of WEB
Émilien (perso)0f8f32bca873
diff --git a/src/invidious/videos/parser.cr b/src/invidious/videos/parser.crindex 1f229df0..65ba8a3d 100644--- a/src/invidious/videos/parser.cr+++ b/src/invidious/videos/parser.cr@@ -53,10 +53,6 @@ enddef extract_video_info(video_id : String)# Init client config for the APIclient_config = YoutubeAPI::ClientConfig.new- # Use the WEB when po_token is configured- if CONFIG.po_token- client_config.client_type = YoutubeAPI::ClientType::Web- end# Fetch data from the player endpointplayer_response = YoutubeAPI.player(video_id: video_id, params: "2AMB", client_config: client_config)