aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/watch.py
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/watch.py
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/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 092885d..fca794e 100644
--- a/youtube/watch.py
+++ b/youtube/watch.py
@@ -429,6 +429,7 @@ def get_watch_page():
uploader = info['author'],
description = info['description'],
unlisted = info['unlisted'],
+ limited_state = info['limited_state'],
age_restricted = info['age_restricted'],
playability_error = info['playability_error'],
)