mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-22 16:19:53 +05:30
Videos: Remove AndroidScreenEmbed client
This commit is contained in:
parent
be291e8f0f
commit
33f316c864
@ -109,10 +109,6 @@ def extract_video_info(video_id : String, proxy_region : String? = nil)
|
|||||||
# https://github.com/TeamNewPipe/NewPipeExtractor/issues/562
|
# https://github.com/TeamNewPipe/NewPipeExtractor/issues/562
|
||||||
client_config.client_type = YoutubeAPI::ClientType::AndroidTestSuite
|
client_config.client_type = YoutubeAPI::ClientType::AndroidTestSuite
|
||||||
new_player_response = try_fetch_streaming_data(video_id, client_config)
|
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
|
end
|
||||||
|
|
||||||
# Last hope
|
# Last hope
|
||||||
|
Loading…
Reference in New Issue
Block a user