From fcc041926bbd70b370d70f1be40e79623ec36207 Mon Sep 17 00:00:00 2001 From: syeopite Date: Sat, 2 Oct 2021 15:59:29 -0700 Subject: [PATCH] Fix channel home extraction --- src/invidious/helpers/extractors.cr | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/invidious/helpers/extractors.cr b/src/invidious/helpers/extractors.cr index 850c93ec..33209d10 100644 --- a/src/invidious/helpers/extractors.cr +++ b/src/invidious/helpers/extractors.cr @@ -361,6 +361,12 @@ private module Extractors raw_items << renderer_container_contents next elsif items_container = renderer_container_contents["gridRenderer"]? + elsif items_container = renderer_container_contents["channelVideoPlayerRenderer"]? + # Parsing for channel trailer is already taken elsewhere + next + elsif items_container = renderer_container_contents["messageRenderer"]? + # Likely an error message regarding content being empty + next else items_container = renderer_container_contents end