Browse Source

[drtv] Use IETF language tag

master
Sergey M․ 8 years ago
parent
commit
6fa73386cb
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/drtv.py

2
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']

Loading…
Cancel
Save