aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/watch.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-08-14 02:39:05 -0700
committerJames Taylor <user234683@users.noreply.github.com>2018-08-14 02:39:05 -0700
commit9cb1732904699c832eba998d3eb219b4e279930b (patch)
treead1133e289fed8b8a3a40bd19680ef338312d077 /youtube/watch.py
parent377749d79dcd22304537065409775441915b9296 (diff)
downloadyt-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.py1
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