diff --git a/yt_dlp/extractor/tenplay.py b/yt_dlp/extractor/tenplay.py index d34a6bcdf..c810cfd0d 100644 --- a/yt_dlp/extractor/tenplay.py +++ b/yt_dlp/extractor/tenplay.py @@ -41,6 +41,7 @@ class TenPlayIE(InfoExtractor): 'PG': 15, 'M': 15, 'MA': 15, + 'MA15+': 15, 'R': 18, 'X': 18 } @@ -79,7 +80,7 @@ class TenPlayIE(InfoExtractor): 'id': data.get('altId') or content_id, 'title': data.get('title'), 'description': data.get('description'), - 'age_limit': self._AUS_AGES[data.get('classification')], + 'age_limit': self._AUS_AGES.get(data.get('classification')), 'series': data.get('showName'), 'season': data.get('showContentSeason'), 'timestamp': data.get('published'),