Browse Source

[drtv] Use IETF language tag

totalwebcasting
Sergey M․ 9 years ago
parent
commit
6fa73386cb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/drtv.py

+ 1
- 1
youtube_dl/extractor/drtv.py View 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']


Loading…
Cancel
Save