]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[amp] Add missing subtitles to info dict
authorSergey M․ <dstftw@gmail.com>
Mon, 4 Jan 2016 19:05:37 +0000 (01:05 +0600)
committerSergey M․ <dstftw@gmail.com>
Mon, 4 Jan 2016 19:05:37 +0000 (01:05 +0600)
youtube_dl/extractor/amp.py

index 1035d1c4881a6f78aa5709477a8aeee4f4bda0bc..69e6baff7fd4cb6c948ad1826df3a5bc9342f569 100644 (file)
@@ -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,
         }