[tenplay] Add MA15+ age limit (#606)

Authored by: pento
This commit is contained in:
pukkandan 2021-08-02 07:51:48 +05:30
parent 68f5867cf0
commit 1bd3639f69
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View file

@ -41,6 +41,7 @@ class TenPlayIE(InfoExtractor):
'PG': 15,
'M': 15,
'MA': 15,
'MA15+': 15,
'R': 18,
'X': 18
}
@ -79,7 +80,7 @@ def _real_extract(self, url):
'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'),