aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
Diffstat (limited to 'youtube')
-rw-r--r--youtube/templates/watch.html3
-rw-r--r--youtube/watch.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index f47c337..2fac91e 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -318,6 +318,9 @@
{%- if limited_state -%}
<li>Limited state</li>
{%- endif -%}
+ {%- if live -%}
+ <li>Live</li>
+ {%- endif -%}
</ul>
<address>Uploaded by <a href="{{ uploader_channel_url }}">{{ uploader }}</a></address>
<span class="views">{{ view_count }} views</span>
diff --git a/youtube/watch.py b/youtube/watch.py
index b0b60b9..ba6d73c 100644
--- a/youtube/watch.py
+++ b/youtube/watch.py
@@ -450,6 +450,7 @@ def get_watch_page(video_id=None):
unlisted = info['unlisted'],
limited_state = info['limited_state'],
age_restricted = info['age_restricted'],
+ live = info['live'],
playability_error = info['playability_error'],
allowed_countries = info['allowed_countries'],