projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[nrk] Unquote subtitles' URLs
[youtube-dl]
/
youtube_dl
/
extractor
/
nrk.py
diff --git
a/youtube_dl/extractor/nrk.py
b/youtube_dl/extractor/nrk.py
index 7532f40c18e92ca71caaf38620f2e69552a3dce4..486e086bb22d655d2ad5bc9df4aade07c9030816 100644
(file)
--- a/
youtube_dl/extractor/nrk.py
+++ b/
youtube_dl/extractor/nrk.py
@@
-55,7
+55,9
@@
class NRKBaseIE(InfoExtractor):
for subtitle in ('webVtt', 'timedText'):
subtitle_url = asset.get('%sSubtitlesUrl' % subtitle)
if subtitle_url:
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,
entries.append({
'id': asset.get('carrierId') or entry_id,
'title': entry_title,