|
|
|
@ -5,9 +5,9 @@ from ..utils import (
|
|
|
|
|
determine_ext,
|
|
|
|
|
int_or_none,
|
|
|
|
|
join_nonempty,
|
|
|
|
|
traverse_obj,
|
|
|
|
|
unified_strdate,
|
|
|
|
|
update_url_query,
|
|
|
|
|
traverse_obj,
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -182,7 +182,7 @@ class DisneyIE(InfoExtractor):
|
|
|
|
|
'description': video_data.get('description') or video_data.get('short_desc'),
|
|
|
|
|
'thumbnail': video_data.get('thumb') or video_data.get('thumb_secure'),
|
|
|
|
|
'duration': int_or_none(video_data.get('duration_sec')),
|
|
|
|
|
'upload_date': unified_strdate(video_data.get('publish_date')) or re.sub(r'\D', '', video_data.get('content_date').split('T')[0]),
|
|
|
|
|
'upload_date': unified_strdate(video_data.get('publish_date')) or re.sub(r'\D', '', video_data.get('content_date', '').split('T')[0]),
|
|
|
|
|
'formats': formats,
|
|
|
|
|
'subtitles': subtitles,
|
|
|
|
|
}
|
|
|
|
|