diff options
author | James Taylor <user234683@users.noreply.github.com> | 2018-08-14 02:39:05 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2018-08-14 02:39:05 -0700 |
commit | 9cb1732904699c832eba998d3eb219b4e279930b (patch) | |
tree | ad1133e289fed8b8a3a40bd19680ef338312d077 /youtube/watch.py | |
parent | 377749d79dcd22304537065409775441915b9296 (diff) | |
download | yt-local-9cb1732904699c832eba998d3eb219b4e279930b.tar.lz yt-local-9cb1732904699c832eba998d3eb219b4e279930b.tar.xz yt-local-9cb1732904699c832eba998d3eb219b4e279930b.zip |
Indicate if video is unlisted
Diffstat (limited to 'youtube/watch.py')
-rw-r--r-- | youtube/watch.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube/watch.py b/youtube/watch.py index ea9ef4c..d98cd3f 100644 --- a/youtube/watch.py +++ b/youtube/watch.py @@ -414,5 +414,6 @@ def get_watch_page(query_string): comments = comments_html, more_comments_button = more_comments_button, music_list = music_list_html, + is_unlisted = '<span class="is-unlisted">Unlisted</span>' if info['unlisted'] else '', ) return page
\ No newline at end of file |