Browse Source

[itv] fix subtitle extraction

master-ytdl-org
Remita Amine 8 years ago
parent
commit
4edeac5bfa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/itv.py

+ 1
- 1
youtube_dl/extractor/itv.py View 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,
})


Loading…
Cancel
Save