projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b219f5e
)
[nrk] Unquote subtitles' URLs
author
Sergey M․
<dstftw@gmail.com>
Fri, 20 May 2016 23:09:16 +0000
(
05:09
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 20 May 2016 23:09:16 +0000
(
05:09
+0600)
youtube_dl/extractor/nrk.py
patch
|
blob
|
history
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:
- 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,