mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-12-28 09:07:54 +01:00
[nrk] Unquote subtitles' URLs
This commit is contained in:
parent
b219f5e51b
commit
c8602b2f9b
@ -55,7 +55,9 @@ class NRKBaseIE(InfoExtractor):
|
||||
for subtitle in ('webVtt', 'timedText'):
|
||||
subtitle_url = asset.get('%sSubtitlesUrl' % subtitle)
|
||||
if subtitle_url:
|
||||
subtitles.setdefault('no', []).append({'url': subtitle_url})
|
||||
subtitles.setdefault('no', []).append({
|
||||
'url': compat_urllib_parse_unquote(subtitle_url)
|
||||
})
|
||||
entries.append({
|
||||
'id': asset.get('carrierId') or entry_id,
|
||||
'title': entry_title,
|
||||
|
Loading…
Reference in New Issue
Block a user