diff --git a/yt_dlp/extractor/prankcast.py b/yt_dlp/extractor/prankcast.py index 0eb5f98d19..b2ec5bbb86 100644 --- a/yt_dlp/extractor/prankcast.py +++ b/yt_dlp/extractor/prankcast.py @@ -18,7 +18,7 @@ class PrankCastIE(InfoExtractor): 'cast': ['Devonanustart', 'Phonelosers'], 'description': '', 'categories': ['prank'], - 'tags': ['prank call', 'prank'], + 'tags': ['prank call', 'prank', 'live show'], 'upload_date': '20220825' } }, { @@ -35,7 +35,7 @@ class PrankCastIE(InfoExtractor): 'cast': ['phonelosers'], 'description': '', 'categories': ['prank'], - 'tags': ['prank call', 'prank'], + 'tags': ['prank call', 'prank', 'live show'], 'upload_date': '20221006' } }] @@ -62,5 +62,5 @@ def _real_extract(self, url): 'cast': list(filter(None, [uploader] + traverse_obj(guests_json, (..., 'name')))), 'description': json_info.get('broadcast_description'), 'categories': [json_info.get('broadcast_category')], - 'tags': self._parse_json(json_info.get('broadcast_tags') or '{}', video_id) + 'tags': try_call(lambda: json_info['broadcast_tags'].split(',')) }