mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-14 21:23:05 +00:00
Update yt_dlp/extractor/trtworld.py
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
This commit is contained in:
parent
c42100b18d
commit
6e0ad21b42
@ -49,9 +49,12 @@ class TrtWorldIE(InfoExtractor):
|
||||
raise ExtractorError('No video found', expected=True)
|
||||
|
||||
return {
|
||||
'id': str(display_id),
|
||||
'id': display_id,
|
||||
'formats': formats,
|
||||
'subtitles': subtitles,
|
||||
'release_timestamp': parse_iso8601(published_date_str),
|
||||
'title': self._html_extract_title(webpage)
|
||||
**traverse_obj(nuxtjs_data, ('platforms', ('website', 'ott'), {
|
||||
'title': ('fields', 'title', 'text'),
|
||||
'description': ('fields', 'description', 'text'),
|
||||
'thumbnail': ('fields', 'thumbnail', 'url', {url_or_none}),
|
||||
'release_timestamp': ('published', 'date', {parse_iso8601}),
|
||||
}), get_all=False),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user