Invidious is an alternative front-end to YouTube
Videos: Remove AndroidScreenEmbed client
Samantaz Fox33f316c864d1
diff --git a/src/invidious/videos/parser.cr b/src/invidious/videos/parser.crindex ca7fb38d..3982c3ff 100644--- a/src/invidious/videos/parser.cr+++ b/src/invidious/videos/parser.cr@@ -109,10 +109,6 @@ def extract_video_info(video_id : String, proxy_region : String? = nil)# https://github.com/TeamNewPipe/NewPipeExtractor/issues/562client_config.client_type = YoutubeAPI::ClientType::AndroidTestSuitenew_player_response = try_fetch_streaming_data(video_id, client_config)- elsif !reason.includes?("your country") # Handled separately- # The Android embedded client could help here- client_config.client_type = YoutubeAPI::ClientType::AndroidScreenEmbed- new_player_response = try_fetch_streaming_data(video_id, client_config)end# Last hope