aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/pornotube.py2
-rw-r--r--youtube_dl/extractor/youporn.py2
-rw-r--r--youtube_dl/extractor/youtube.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/pornotube.py b/youtube_dl/extractor/pornotube.py
index 9039dff5a..5d770ec28 100644
--- a/youtube_dl/extractor/pornotube.py
+++ b/youtube_dl/extractor/pornotube.py
@@ -47,6 +47,6 @@ class PornotubeIE(InfoExtractor):
'title': video_title,
'ext': 'flv',
'format': 'flv',
- 'age_restriction': age_limit}
+ 'age_limit': age_limit}
return [info]
diff --git a/youtube_dl/extractor/youporn.py b/youtube_dl/extractor/youporn.py
index e2860ec9d..b1f93dd1b 100644
--- a/youtube_dl/extractor/youporn.py
+++ b/youtube_dl/extractor/youporn.py
@@ -117,7 +117,7 @@ class YouPornIE(InfoExtractor):
'format': format,
'thumbnail': thumbnail,
'description': video_description,
- 'age_restriction': age_limit,
+ 'age_limit': age_limit,
})
if self._downloader.params.get('listformats', None):
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