Skip to content

Commit

Permalink
Videos: Remove AndroidScreenEmbed client
Browse files Browse the repository at this point in the history
  • Loading branch information
SamantazFox committed Apr 26, 2024
1 parent be291e8 commit 33f316c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/invidious/videos/parser.cr
Expand Up @@ -109,10 +109,6 @@ def extract_video_info(video_id : String, proxy_region : String? = nil)
# 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
Expand Down

0 comments on commit 33f316c

Please sign in to comment.