mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-27 17:08:32 +00:00
filter empty string from cast list
Co-authored-by: doe1080 <98906116+doe1080@users.noreply.github.com>
This commit is contained in:
parent
5c6a350222
commit
e0c568675f
@ -58,7 +58,7 @@ def _real_extract(self, url):
|
||||
'tbs', f'ref:{video_id}', headers={'Referer': 'https://cu.tbs.co.jp/'}),
|
||||
**traverse_obj(episode, {
|
||||
'title': ('title', ..., 'value', {str}, any),
|
||||
'cast': ('credit', ..., 'name', ..., 'value', {str}, any, {lambda x: x.split(',')}, filter),
|
||||
'cast': ('credit', ..., 'name', ..., 'value', {clean_html}, any, {lambda x: x.split(',')}, ..., {str.strip}, filter, all, filter),
|
||||
'categories': ('keywords', ..., {str}, filter, all, filter),
|
||||
'description': ('description', ..., 'value', {clean_html}, any),
|
||||
'duration': ('tv_episode_info', 'duration', {int_or_none}),
|
||||
|
Loading…
Reference in New Issue
Block a user