aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-01-05 01:05:37 +0600
committerSergey M․ <dstftw@gmail.com>2016-01-05 01:05:37 +0600
commitfff79f1867c5ac50eb7f88201dd3f728996d52a4 (patch)
treefe42d9014ba2a13152fb63cb7ec239b25ef24343
parent3f17c357d9958bfae18f06676c89ffdb63553509 (diff)
[amp] Add missing subtitles to info dict
-rw-r--r--youtube_dl/extractor/amp.py1
1 files changed, 1 insertions, 0 deletions
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,
}