[drtv] Use IETF language tag
[youtube-dl] / youtube_dl / extractor / drtv.py
index baa24c6d13abe016cceb83bb927db15d7d300509..2d74ff855f1670e0dcb46e35d1875e8e9c9fd144 100644 (file)
@@ -91,7 +91,7 @@ class DRTVIE(InfoExtractor):
                 subtitles_list = asset.get('SubtitlesList')
                 if isinstance(subtitles_list, list):
                     LANGS = {
-                        'Danish': 'dk',
+                        'Danish': 'da',
                     }
                     for subs in subtitles_list:
                         lang = subs['Language']