aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-10-06 16:23:06 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-10-06 16:23:06 +0200
commitcfadd183c4a281e97fba89501d59ee344bcc5978 (patch)
tree84f0285d42855b3217ee5bc62155bc391676ca68 /youtube_dl/extractor/youtube.py
parent8dbe9899a985a04690e467510c94c14f3314843b (diff)
Call extracted property age_limit everywhere
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-rw-r--r--youtube_dl/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 9bcd035bd..b02ae2572 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -1496,7 +1496,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
'player_url': player_url,
'subtitles': video_subtitles,
'duration': video_duration,
- 'age_restriction': 18 if age_gate else 0,
+ 'age_limit': 18 if age_gate else 0,
})
return results