fixing "end" misplacement

This commit is contained in:
Emilien 2024-11-16 22:38:00 +01:00
parent 1aa154b978
commit 9f846127ae

View File

@ -124,7 +124,6 @@ def extract_video_info(video_id : String)
params.delete("reason") params.delete("reason")
end end
end end
end
{"captions", "playabilityStatus", "playerConfig", "storyboards", "invidiousCompanion"}.each do |f| {"captions", "playabilityStatus", "playerConfig", "storyboards", "invidiousCompanion"}.each do |f|
params[f] = player_response[f] if player_response[f]? params[f] = player_response[f] if player_response[f]?