Fix channels having videos

This commit is contained in:
Cadence Ember 2020-10-04 18:38:41 +13:00
parent e1bcc306b3
commit 0b9874a4f4
No known key found for this signature in database
GPG Key ID: BC1C2C61CF521B17
1 changed files with 1 additions and 1 deletions

View File

@ -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"]
)