aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--youtube_dl/extractor/itv.py2
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,
})