A feature-rich command-line audio/video downloader
[extractor/sbs] Python 3.7 compat
pukkandanf393bbe724b1
diff --git a/yt_dlp/extractor/sbs.py b/yt_dlp/extractor/sbs.pyindex ac0b6de202..119106e8ef 100644--- a/yt_dlp/extractor/sbs.py+++ b/yt_dlp/extractor/sbs.py@@ -139,8 +139,8 @@ class SBSIE(InfoExtractor):'release_year': ('releaseYear', {int_or_none}),'duration': ('duration', ({float_or_none}, {parse_duration})),'is_live': ('liveStream', {bool}),- 'age_limit': (- ('classificationID', 'contentRating'), {str.upper}, {self._AUS_TV_PARENTAL_GUIDELINES.get}),+ 'age_limit': (('classificationID', 'contentRating'), {str.upper}, {+ lambda x: self._AUS_TV_PARENTAL_GUIDELINES.get(x)}), # dict.get is unhashable in py3.7}, get_all=False),**traverse_obj(media, {'categories': (('genres', ...), ('taxonomy', ('genre', 'subgenre'), 'name'), {str}),