summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2016-01-23 01:54:00 +0600
committerSergey M․ <[email protected]>2016-01-23 01:54:00 +0600
commit6fa73386cbb9b3d39dafde9c61bd950bd99b7155 (patch)
treea425c88c22539ea159acf4d752760ef5c6c31b8b
parent5ca01bb9e4803d82734420445d49ea7f98579fe6 (diff)
downloadyoutube-dl-6fa73386cbb9b3d39dafde9c61bd950bd99b7155.tar.gz
youtube-dl-6fa73386cbb9b3d39dafde9c61bd950bd99b7155.zip
[drtv] Use IETF language tag
-rw-r--r--youtube_dl/extractor/drtv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/drtv.py b/youtube_dl/extractor/drtv.py
index baa24c6d1..2d74ff855 100644
--- a/youtube_dl/extractor/drtv.py
+++ b/youtube_dl/extractor/drtv.py
@@ -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']