channel: Add short description under channel name

This commit is contained in:
James Taylor
2019-07-23 22:55:15 -07:00
parent fe38aa214b
commit cb1c899a45
2 changed files with 6 additions and 3 deletions

View File

@@ -166,7 +166,7 @@ def extract_info(polymer_json, tab):
# stuff from microformat (info given by youtube for every page on channel)
info['description'] = microformat['description']
info['short_description'] = microformat['description']
info['channel_name'] = microformat['title']
info['avatar'] = microformat['thumbnail']['thumbnails'][0]['url']
channel_url = microformat['urlCanonical'].rstrip('/')