diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-10-06 16:23:18 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-10-06 16:23:18 +0200 |
commit | 2a69c6b87910d3dbeec14d3c6f7e16855944a0ad (patch) | |
tree | 80c395e99529f4b805d79978d82c6beaf37ff7bb /youtube_dl/extractor/youtube.py | |
parent | e484c81f0c0a6faf959037ac03b504e4794d72df (diff) | |
parent | cfadd183c4a281e97fba89501d59ee344bcc5978 (diff) |
Merge branch 'age_limit'
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-rw-r--r-- | youtube_dl/extractor/youtube.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 1101011ea..b02ae2572 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1495,7 +1495,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor): 'description': video_description, 'player_url': player_url, 'subtitles': video_subtitles, - 'duration': video_duration + 'duration': video_duration, + 'age_limit': 18 if age_gate else 0, }) return results |