projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f17c35
)
[amp] Add missing subtitles to info dict
author
Sergey M․
<dstftw@gmail.com>
Mon, 4 Jan 2016 19:05:37 +0000
(
01:05
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 4 Jan 2016 19:05:37 +0000
(
01:05
+0600)
youtube_dl/extractor/amp.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/amp.py
b/youtube_dl/extractor/amp.py
index 1035d1c4881a6f78aa5709477a8aeee4f4bda0bc..69e6baff7fd4cb6c948ad1826df3a5bc9342f569 100644
(file)
--- 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,
}