mirror of
https://git.sr.ht/~cadence/NewLeaf
synced 2024-11-14 12:07:30 +00:00
Fix channels having videos
This commit is contained in:
parent
e1bcc306b3
commit
0b9874a4f4
@ -47,7 +47,7 @@ def extract_channel(ucid):
|
|||||||
|
|
||||||
# check that the channel actually has videos - this may be replaced
|
# check that the channel actually has videos - this may be replaced
|
||||||
# with messageRenderer.text.simpleText == "This channel has no videos."
|
# with messageRenderer.text.simpleText == "This channel has no videos."
|
||||||
if "gridVideoRenderer" in tab_parts:
|
if "gridRenderer" in tab_parts:
|
||||||
videos = (
|
videos = (
|
||||||
v["gridVideoRenderer"] for v in tab_parts["gridRenderer"]["items"]
|
v["gridVideoRenderer"] for v in tab_parts["gridRenderer"]["items"]
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user