]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[drtv] Use IETF language tag
authorSergey M․ <dstftw@gmail.com>
Fri, 22 Jan 2016 19:54:00 +0000 (01:54 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 22 Jan 2016 19:54:00 +0000 (01:54 +0600)
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']