]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[itv] fix subtitle extraction
authorRemita Amine <remitamine@gmail.com>
Sat, 28 Jan 2017 16:28:18 +0000 (17:28 +0100)
committerRemita Amine <remitamine@gmail.com>
Sat, 28 Jan 2017 16:28:18 +0000 (17:28 +0100)
youtube_dl/extractor/itv.py

index d65cdc6af3fc87c13b6e799ddfdb1e138d6b8c0c..0328c7093fc0fded9d1fec62fa7956015ac7970d 100644 (file)
@@ -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,
             })