mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-18 15:15:42 +07:00
[itv] fix subtitle extraction
This commit is contained in:
@@ -177,7 +177,7 @@ def _add_sub_element(element, name):
|
||||
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,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user