From: Sergey M․ Date: Mon, 4 Jan 2016 19:05:37 +0000 (+0600) Subject: [amp] Add missing subtitles to info dict X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=fff79f1867c5ac50eb7f88201dd3f728996d52a4;p=youtube-dl [amp] Add missing subtitles to info dict --- diff --git a/youtube_dl/extractor/amp.py b/youtube_dl/extractor/amp.py index 1035d1c48..69e6baff7 100644 --- a/youtube_dl/extractor/amp.py +++ b/youtube_dl/extractor/amp.py @@ -76,5 +76,6 @@ class AMPIE(InfoExtractor): 'thumbnails': thumbnails, 'timestamp': parse_iso8601(item.get('pubDate'), ' '), 'duration': int_or_none(media_content[0].get('@attributes', {}).get('duration')), + 'subtitles': subtitles, 'formats': formats, }