[youtube] bugfix for channel playlist extraction

Bug introduced in cd7c66cf01
pull/179/head
pukkandan 4 years ago
parent 7978e172f3
commit e3c076970e
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

@ -2666,7 +2666,7 @@ class YoutubeTabIE(YoutubeBaseInfoExtractor):
def _extract_basic_item_renderer(item): def _extract_basic_item_renderer(item):
# Modified from _extract_grid_item_renderer # Modified from _extract_grid_item_renderer
known_renderers = ( known_renderers = (
'playlistRenderer', 'videoRenderer', 'channelRenderer' 'playlistRenderer', 'videoRenderer', 'channelRenderer',
'gridPlaylistRenderer', 'gridVideoRenderer', 'gridChannelRenderer' 'gridPlaylistRenderer', 'gridVideoRenderer', 'gridChannelRenderer'
) )
for key, renderer in item.items(): for key, renderer in item.items():

Loading…
Cancel
Save