mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-15 05:33: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)
|
raise ExtractorError('No video found', expected=True)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': str(display_id),
|
'id': display_id,
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
'subtitles': subtitles,
|
**traverse_obj(nuxtjs_data, ('platforms', ('website', 'ott'), {
|
||||||
'release_timestamp': parse_iso8601(published_date_str),
|
'title': ('fields', 'title', 'text'),
|
||||||
'title': self._html_extract_title(webpage)
|
'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