This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[itv] fix subtitle extraction
master-ytdl-org
Remita Amine
8 years ago
parent
f592ff9868
commit
4edeac5bfa
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
,
}
)
Write
Preview
Loading…
Cancel
Save