From 0b9874a4f4e7f9398a3a1ee041d79e8c7d432550 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Sun, 4 Oct 2020 18:38:41 +1300 Subject: [PATCH] Fix channels having videos --- extractors/channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extractors/channel.py b/extractors/channel.py index ce0066e..967d79a 100644 --- a/extractors/channel.py +++ b/extractors/channel.py @@ -47,7 +47,7 @@ def extract_channel(ucid): # check that the channel actually has videos - this may be replaced # with messageRenderer.text.simpleText == "This channel has no videos." - if "gridVideoRenderer" in tab_parts: + if "gridRenderer" in tab_parts: videos = ( v["gridVideoRenderer"] for v in tab_parts["gridRenderer"]["items"] )