aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-08-31 16:22:54 -0700
committerJames Taylor <user234683@users.noreply.github.com>2018-08-31 16:22:54 -0700
commit6980d93107354a8c075030a7bda4c3870449163b (patch)
tree7356140c8967fc16b7fe2a7f591bb699568221b6 /youtube
parent8cf42ed00b9c570100ef7013204d53e732159968 (diff)
downloadyt-local-6980d93107354a8c075030a7bda4c3870449163b.tar.lz
yt-local-6980d93107354a8c075030a7bda4c3870449163b.tar.xz
yt-local-6980d93107354a8c075030a7bda4c3870449163b.zip
ignore unknown renderer types
Diffstat (limited to 'youtube')
-rw-r--r--youtube/common.py5
1 files changed, 3 insertions, 2 deletions
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 ''