kopia lustrzana https://github.com/yt-dlp/yt-dlp
[itv] fix subtitle extraction
rodzic
f592ff9868
commit
4edeac5bfa
|
@ -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,
|
||||
})
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue