[youtube:tab] Fix channels tab

This commit is contained in:
pukkandan 2021-07-20 23:21:04 +05:30
parent 6586bca9b9
commit d61fc64618
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View file

@ -3729,6 +3729,7 @@ def extract_entries(parent_renderer): # this needs to called again for continua
known_renderers = { known_renderers = {
'gridPlaylistRenderer': (self._grid_entries, 'items'), 'gridPlaylistRenderer': (self._grid_entries, 'items'),
'gridVideoRenderer': (self._grid_entries, 'items'), 'gridVideoRenderer': (self._grid_entries, 'items'),
'gridChannelRenderer': (self._grid_entries, 'items'),
'playlistVideoRenderer': (self._playlist_entries, 'contents'), 'playlistVideoRenderer': (self._playlist_entries, 'contents'),
'itemSectionRenderer': (extract_entries, 'contents'), # for feeds 'itemSectionRenderer': (extract_entries, 'contents'), # for feeds
'richItemRenderer': (extract_entries, 'contents'), # for hashtag 'richItemRenderer': (extract_entries, 'contents'), # for hashtag