From: Sergey M․ Date: Fri, 20 May 2016 23:09:16 +0000 (+0600) Subject: [nrk] Unquote subtitles' URLs X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=c8602b2f9bcdda00398b2c54db4c1be85b75ce39;p=youtube-dl [nrk] Unquote subtitles' URLs --- diff --git a/youtube_dl/extractor/nrk.py b/youtube_dl/extractor/nrk.py index 7532f40c1..486e086bb 100644 --- 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,