mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[amp] Add missing subtitles to info dict
This commit is contained in:
parent
3f17c357d9
commit
fff79f1867
1 changed files with 1 additions and 0 deletions
|
@ -76,5 +76,6 @@ def get_media_node(name, default=None):
|
||||||
'thumbnails': thumbnails,
|
'thumbnails': thumbnails,
|
||||||
'timestamp': parse_iso8601(item.get('pubDate'), ' '),
|
'timestamp': parse_iso8601(item.get('pubDate'), ' '),
|
||||||
'duration': int_or_none(media_content[0].get('@attributes', {}).get('duration')),
|
'duration': int_or_none(media_content[0].get('@attributes', {}).get('duration')),
|
||||||
|
'subtitles': subtitles,
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue