mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	[drtv] Use IETF language tag
This commit is contained in:
		| @@ -91,7 +91,7 @@ class DRTVIE(InfoExtractor): | |||||||
|                 subtitles_list = asset.get('SubtitlesList') |                 subtitles_list = asset.get('SubtitlesList') | ||||||
|                 if isinstance(subtitles_list, list): |                 if isinstance(subtitles_list, list): | ||||||
|                     LANGS = { |                     LANGS = { | ||||||
|                         'Danish': 'dk', |                         'Danish': 'da', | ||||||
|                     } |                     } | ||||||
|                     for subs in subtitles_list: |                     for subs in subtitles_list: | ||||||
|                         lang = subs['Language'] |                         lang = subs['Language'] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user