From 6980d93107354a8c075030a7bda4c3870449163b Mon Sep 17 00:00:00 2001 From: James Taylor Date: Fri, 31 Aug 2018 16:22:54 -0700 Subject: ignore unknown renderer types --- youtube/common.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'youtube') diff --git a/youtube/common.py b/youtube/common.py index f867ea9..a20dbf1 100644 --- a/youtube/common.py +++ b/youtube/common.py @@ -638,5 +638,6 @@ def renderer_html(renderer, additional_info={}, current_query_string=''): if type in ('playlistRenderer', 'gridPlaylistRenderer', 'radioRenderer', 'gridRadioRenderer', 'gridShowRenderer', 'showRenderer'): return playlist_item_html(info, medium_playlist_item_template, html_exclude=html_exclude) - print(renderer) - raise NotImplementedError('Unknown renderer type: ' + type) + #print(renderer) + #raise NotImplementedError('Unknown renderer type: ' + type) + return '' -- cgit v1.2.3