From 79f29780a431a57f532d087b960707d4a88414e8 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Mon, 3 Aug 2026 15:12:18 -0400 Subject: [PATCH] update the naming of the comments section in Innertube Downstreamed from https://git.nadeko.net/Fijxu/invidious/commit/36ac67610d1e52df731a21525fac966413541fa9 --- src/invidious/videos/parser.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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