mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-28 09:31:01 +01:00
parent
cf60522652
commit
ed4cc4ea79
@ -18,7 +18,7 @@ class PrankCastIE(InfoExtractor):
|
|||||||
'cast': ['Devonanustart', 'Phonelosers'],
|
'cast': ['Devonanustart', 'Phonelosers'],
|
||||||
'description': '',
|
'description': '',
|
||||||
'categories': ['prank'],
|
'categories': ['prank'],
|
||||||
'tags': ['prank call', 'prank'],
|
'tags': ['prank call', 'prank', 'live show'],
|
||||||
'upload_date': '20220825'
|
'upload_date': '20220825'
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
@ -35,7 +35,7 @@ class PrankCastIE(InfoExtractor):
|
|||||||
'cast': ['phonelosers'],
|
'cast': ['phonelosers'],
|
||||||
'description': '',
|
'description': '',
|
||||||
'categories': ['prank'],
|
'categories': ['prank'],
|
||||||
'tags': ['prank call', 'prank'],
|
'tags': ['prank call', 'prank', 'live show'],
|
||||||
'upload_date': '20221006'
|
'upload_date': '20221006'
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
@ -62,5 +62,5 @@ def _real_extract(self, url):
|
|||||||
'cast': list(filter(None, [uploader] + traverse_obj(guests_json, (..., 'name')))),
|
'cast': list(filter(None, [uploader] + traverse_obj(guests_json, (..., 'name')))),
|
||||||
'description': json_info.get('broadcast_description'),
|
'description': json_info.get('broadcast_description'),
|
||||||
'categories': [json_info.get('broadcast_category')],
|
'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(','))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user