aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-12-17 20:58:15 -0800
committerJames Taylor <user234683@users.noreply.github.com>2019-12-17 20:58:15 -0800
commit45a4ab5acedd2fd7531604d3e817e0742a036c4a (patch)
treea0729f645cc485880b8cb37dfdec9bfa6f68342c /youtube/templates
parent81c7ecf161b528ba293678e0bdbf42952cc87386 (diff)
downloadyt-local-45a4ab5acedd2fd7531604d3e817e0742a036c4a.tar.lz
yt-local-45a4ab5acedd2fd7531604d3e817e0742a036c4a.tar.xz
yt-local-45a4ab5acedd2fd7531604d3e817e0742a036c4a.zip
Extraction: Detect limited state and fix false detection as unlisted
Diffstat (limited to 'youtube/templates')
-rw-r--r--youtube/templates/watch.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index 27150d4..eaa3786 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -252,6 +252,9 @@
{%- if age_restricted -%}
<li class="age-restricted">Age-restricted</li>
{%- endif -%}
+ {%- if limited_state -%}
+ <li>Limited state</li>
+ {%- endif -%}
</ul>
<address>Uploaded by <a href="{{ uploader_channel_url }}">{{ uploader }}</a></address>
<span class="views">{{ views }} views</span>