diff --git a/src/invidious/videos/parser.cr b/src/invidious/videos/parser.cr index 37245cc0f..8367fcd78 100644 --- a/src/invidious/videos/parser.cr +++ b/src/invidious/videos/parser.cr @@ -298,9 +298,9 @@ module Invidious::Videos::Parser # Comments enabled? comments_enabled = false - # When comments are enabled there should be a comments-entry-point section in the primary results + # When comments are enabled there should be a comments-section section in the primary results if primary_results - section = primary_results.as_a.find(&.dig?("itemSectionRenderer", "sectionIdentifier").== "comments-entry-point") + section = primary_results.as_a.find(&.dig?("itemSectionRenderer", "targetId").== "comments-section") if section comments_enabled = true