mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 03:57:06 -05:00 
			
		
		
		
	[nrk] Unquote subtitles' URLs
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user