diff options
author | James Taylor <user234683@users.noreply.github.com> | 2018-07-19 02:33:48 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2018-07-19 02:33:48 -0700 |
commit | 40039ba672bf535cce5cf96f7cadb48326ad21be (patch) | |
tree | c808fc9973670597d8dee08dbc0bc35380047a22 /youtube/common.py | |
parent | 2965161bbe615e3be8026f2103932d311281a713 (diff) | |
download | yt-local-40039ba672bf535cce5cf96f7cadb48326ad21be.tar.lz yt-local-40039ba672bf535cce5cf96f7cadb48326ad21be.tar.xz yt-local-40039ba672bf535cce5cf96f7cadb48326ad21be.zip |
add channel searching
Diffstat (limited to 'youtube/common.py')
-rw-r--r-- | youtube/common.py | 2 |
1 files changed, 2 insertions, 0 deletions
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) |