aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-08-02 07:51:48 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-08-02 07:52:11 +0530
commit1bd3639f691e677b2be4b2a85da60d2b2aaa6fa4 (patch)
treec269f4c9d8274a97d94bdf8268805d57df5e603f
parent68f5867cf0516f152fc772e96c1931797102694f (diff)
downloadhypervideo-pre-1bd3639f691e677b2be4b2a85da60d2b2aaa6fa4.tar.lz
hypervideo-pre-1bd3639f691e677b2be4b2a85da60d2b2aaa6fa4.tar.xz
hypervideo-pre-1bd3639f691e677b2be4b2a85da60d2b2aaa6fa4.zip
[tenplay] Add MA15+ age limit (#606)
Authored by: pento
-rw-r--r--yt_dlp/extractor/tenplay.py3
1 files changed, 2 insertions, 1 deletions
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'),