mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-01 03:22:50 -05:00
Call extracted property age_limit everywhere
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user