summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamantaz Fox <coding@samantaz.fr>2024-04-26 23:15:34 +0200
committerSamantaz Fox <coding@samantaz.fr>2024-04-26 23:15:34 +0200
commit33f316c864d1bd79cd07d46db9da57a65124f31c (patch)
tree737b1a65d384de181630287276caed853c50be29
parentbe291e8f0f217c059ba35b414df4446bc00c3f27 (diff)
downloadinvidious-33f316c864d1bd79cd07d46db9da57a65124f31c.tar.gz
invidious-33f316c864d1bd79cd07d46db9da57a65124f31c.tar.bz2
invidious-33f316c864d1bd79cd07d46db9da57a65124f31c.zip
Videos: Remove AndroidScreenEmbed client
-rw-r--r--src/invidious/videos/parser.cr4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/invidious/videos/parser.cr b/src/invidious/videos/parser.cr
index 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/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