projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f592ff9
)
[itv] fix subtitle extraction
author
Remita Amine
<remitamine@gmail.com>
Sat, 28 Jan 2017 16:28:18 +0000
(17:28 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Sat, 28 Jan 2017 16:28:18 +0000
(17:28 +0100)
youtube_dl/extractor/itv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/itv.py
b/youtube_dl/extractor/itv.py
index d65cdc6af3fc87c13b6e799ddfdb1e138d6b8c0c..0328c7093fc0fded9d1fec62fa7956015ac7970d 100644
(file)
--- a/
youtube_dl/extractor/itv.py
+++ b/
youtube_dl/extractor/itv.py
@@
-177,7
+177,7
@@
class ITVIE(InfoExtractor):
continue
ext = determine_ext(caption_url.text, 'ttml')
subtitles.setdefault('en', []).append({
- 'url': caption_url,
+ 'url': caption_url
.text
,
'ext': 'ttml' if ext == 'xml' else ext,
})