projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Call extracted property age_limit everywhere
[youtube-dl]
/
youtube_dl
/
extractor
/
youtube.py
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index 9bcd035bde1fabe9c74dae03173a7cb0684486ca..b02ae25727f2843be3952670e8eba617ff23b749 100644
(file)
--- 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