[youtube] bugfix for channel playlist extraction

Bug introduced in cd7c66cf01
This commit is contained in:
pukkandan 2021-03-17 17:32:49 +05:30
parent 7978e172f3
commit e3c076970e
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

View File

@ -2666,7 +2666,7 @@ def _extract_channel_id(self, webpage):
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():