Update src/invidious/videos/parser.cr

Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
This commit is contained in:
Fijxu 2025-09-08 17:05:08 -03:00 committed by GitHub
parent 7b246b576f
commit aead38124d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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