mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-12 18:04:30 +01:00
remove explicit usage of WEB
This commit is contained in:
parent
f3e93ca83d
commit
0f8f32bca8
1 changed files with 0 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue