diff options
| author | Emilien <4016501+unixfox@users.noreply.github.com> | 2024-11-08 21:56:24 +0100 |
|---|---|---|
| committer | Emilien <4016501+unixfox@users.noreply.github.com> | 2024-11-09 22:21:09 +0100 |
| commit | 82b1506cccc85ed4f3979d674a2754c35e0194fc (patch) | |
| tree | cd659f5065cd01d8f5db9b31b5a37e35fb05a0d5 | |
| parent | b9ad9bd72331e8a568bd11813cb0169bd9c2a831 (diff) | |
| download | invidious-82b1506cccc85ed4f3979d674a2754c35e0194fc.tar.gz invidious-82b1506cccc85ed4f3979d674a2754c35e0194fc.tar.bz2 invidious-82b1506cccc85ed4f3979d674a2754c35e0194fc.zip | |
remove usage of WebEmbeddedPlayer
| -rw-r--r-- | src/invidious/videos/parser.cr | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/invidious/videos/parser.cr b/src/invidious/videos/parser.cr index b2744120..1f229df0 100644 --- a/src/invidious/videos/parser.cr +++ b/src/invidious/videos/parser.cr @@ -106,13 +106,6 @@ def extract_video_info(video_id : String) new_player_response = nil - # Second try in case WEB_CREATOR doesn't work with po_token. - # Only trigger if reason found and po_token configured. - if reason && CONFIG.po_token - client_config.client_type = YoutubeAPI::ClientType::WebEmbeddedPlayer - new_player_response = try_fetch_streaming_data(video_id, client_config) - end - # Don't use Android test suite client if po_token is passed because po_token doesn't # work for Android test suite client. if reason.nil? && CONFIG.po_token.nil? |
