diff --git a/src/invidious/videos/parser.cr b/src/invidious/videos/parser.cr index fb10bf340..6b1dedd69 100644 --- a/src/invidious/videos/parser.cr +++ b/src/invidious/videos/parser.cr @@ -104,7 +104,7 @@ def extract_video_info(video_id : String) next_response = YoutubeAPI.next({"videoId": video_id, "params": ""}) # Remove the microformat returned by the /next endpoint on some videos # to prevent player_response microformat from being overwritten. - next_response.reject!("microformat") + next_response.delete("microformat") player_response = player_response.merge(next_response) end