From 40039ba672bf535cce5cf96f7cadb48326ad21be Mon Sep 17 00:00:00 2001 From: James Taylor Date: Thu, 19 Jul 2018 02:33:48 -0700 Subject: add channel searching --- youtube/common.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'youtube/common.py') diff --git a/youtube/common.py b/youtube/common.py index eaabdda..ab7ec17 100644 --- a/youtube/common.py +++ b/youtube/common.py @@ -593,6 +593,8 @@ did_you_mean = Template(''' def renderer_html(renderer, additional_info={}, current_query_string=''): type = list(renderer.keys())[0] renderer = renderer[type] + if type == 'itemSectionRenderer': + return renderer_html(renderer['contents'][0], additional_info, current_query_string) if type == 'channelRenderer': info = renderer_info(renderer) -- cgit v1.2.3