0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-28 01:41:06 +00:00

[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 = {
'gridPlaylistRenderer': (self._grid_entries, 'items'),
'gridVideoRenderer': (self._grid_entries, 'items'),
'gridChannelRenderer': (self._grid_entries, 'items'),
'playlistVideoRenderer': (self._playlist_entries, 'contents'),
'itemSectionRenderer': (extract_entries, 'contents'), # for feeds
'richItemRenderer': (extract_entries, 'contents'), # for hashtag