Videos: Remove AndroidScreenEmbed client

This commit is contained in:
Samantaz Fox 2024-04-26 23:15:34 +02:00 committed by Fijxu
parent 5cae52da8b
commit 9372497c43
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4

View file

@ -109,10 +109,6 @@ def extract_video_info(video_id : String)
# https://github.com/TeamNewPipe/NewPipeExtractor/issues/562
client_config.client_type = YoutubeAPI::ClientType::AndroidTestSuite
new_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