1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-23 00:07:49 +00:00

[amp] Add missing subtitles to info dict

This commit is contained in:
Sergey M․ 2016-01-05 01:05:37 +06:00
parent 3f17c357d9
commit fff79f1867

View file

@ -76,5 +76,6 @@ class AMPIE(InfoExtractor):
'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,
} }