diff options
author | Remita Amine <remitamine@gmail.com> | 2017-01-28 17:28:18 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2017-01-28 17:28:18 +0100 |
commit | 4edeac5bfae76966fd14f636bd68850ea0403ece (patch) | |
tree | 76cba98c3c80b3b3bfad585f769d4f6316b5854d /youtube_dl | |
parent | f592ff98683794e0f79c96cbec67b737ae8da00c (diff) |
[itv] fix subtitle extraction
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/itv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/itv.py b/youtube_dl/extractor/itv.py index d65cdc6af..0328c7093 100644 --- 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, }) |