aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/channel.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-07-23 22:55:15 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-07-23 22:55:15 -0700
commitcb1c899a4570e8644dad572c7f00a3d96c844a2f (patch)
treeadfc02ebad370e0d7e95bef1d56ac52d85cdd748 /youtube/channel.py
parentfe38aa214bc8876e80de08d3f3f793fa2f546ef4 (diff)
downloadyt-local-cb1c899a4570e8644dad572c7f00a3d96c844a2f.tar.lz
yt-local-cb1c899a4570e8644dad572c7f00a3d96c844a2f.tar.xz
yt-local-cb1c899a4570e8644dad572c7f00a3d96c844a2f.zip
channel: Add short description under channel name
Diffstat (limited to 'youtube/channel.py')
-rw-r--r--youtube/channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/channel.py b/youtube/channel.py
index 4f719ae..04f698b 100644
--- a/youtube/channel.py
+++ b/youtube/channel.py
@@ -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('/')