From 1bd3639f691e677b2be4b2a85da60d2b2aaa6fa4 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Mon, 2 Aug 2021 07:51:48 +0530 Subject: [PATCH] [tenplay] Add MA15+ age limit (#606) Authored by: pento --- yt_dlp/extractor/tenplay.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'),