diff options
| author | Émilien (perso) <4016501+unixfox@users.noreply.github.com> | 2024-11-08 23:33:19 +0100 |
|---|---|---|
| committer | Emilien <4016501+unixfox@users.noreply.github.com> | 2024-11-09 22:21:09 +0100 |
| commit | 0f8f32bca8739dfc05edc70ac634bfebe763d927 (patch) | |
| tree | 1992f33999a922c503913a0eca201d1aef7bc4a4 | |
| parent | f3e93ca83d21ab7e766d931c3985cf291e96ad3e (diff) | |
| download | invidious-0f8f32bca8739dfc05edc70ac634bfebe763d927.tar.gz invidious-0f8f32bca8739dfc05edc70ac634bfebe763d927.tar.bz2 invidious-0f8f32bca8739dfc05edc70ac634bfebe763d927.zip | |
remove explicit usage of WEB
| -rw-r--r-- | src/invidious/videos/parser.cr | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/invidious/videos/parser.cr b/src/invidious/videos/parser.cr index 1f229df0..65ba8a3d 100644 --- a/src/invidious/videos/parser.cr +++ b/src/invidious/videos/parser.cr @@ -53,10 +53,6 @@ end def extract_video_info(video_id : String) # Init client config for the API client_config = YoutubeAPI::ClientConfig.new - # Use the WEB when po_token is configured - if CONFIG.po_token - client_config.client_type = YoutubeAPI::ClientType::Web - end # Fetch data from the player endpoint player_response = YoutubeAPI.player(video_id: video_id, params: "2AMB", client_config: client_config) |
