diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-12-20 20:50:16 -0800 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-12-20 20:52:01 -0800 |
commit | 4b6efb0e0baa290eaa43a01f672e22c1460ed6ea (patch) | |
tree | b4cbebc73526f63227ee580266ac86b75737ffea /youtube/watch.py | |
parent | d2ba9be7a7d463bddc87dc30205eaee49752bafd (diff) | |
download | yt-local-4b6efb0e0baa290eaa43a01f672e22c1460ed6ea.tar.lz yt-local-4b6efb0e0baa290eaa43a01f672e22c1460ed6ea.tar.xz yt-local-4b6efb0e0baa290eaa43a01f672e22c1460ed6ea.zip |
Watch: display comment count and whether comments are disabled
Diffstat (limited to 'youtube/watch.py')
-rw-r--r-- | youtube/watch.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube/watch.py b/youtube/watch.py index 7a57873..7106345 100644 --- a/youtube/watch.py +++ b/youtube/watch.py @@ -347,6 +347,8 @@ def get_watch_page(video_id=None): music_list = info['music_list'], music_attributes = get_ordered_music_list_attributes(info['music_list']), comments_info = comments_info, + comment_count = info['comment_count'], + comments_disabled = info['comments_disabled'], theater_mode = settings.theater_mode, related_videos_mode = settings.related_videos_mode, |