diff --git a/src/invidious/videos/parser.cr b/src/invidious/videos/parser.cr index 2f55128a8..7f6d39e6f 100644 --- a/src/invidious/videos/parser.cr +++ b/src/invidious/videos/parser.cr @@ -218,7 +218,7 @@ def parse_video_info(video_id : String, player_response : Hash(String, JSON::Any post_live_dvr = video_details.dig?("isPostLiveDvr") .try &.as_bool || false - is_short = microformat["isShortsEligible"].try &.as_bool || false + is_short = microformat.dig?("isShortsEligible").try &.as_bool || false # Extra video infos