A feature-rich command-line audio/video downloader
[vlive] Prefer locale over language for subtitles id
ping49b69ad91c4a
diff --git a/youtube_dl/extractor/vlive.py b/youtube_dl/extractor/vlive.pyindex 8d671cca76..c3aa57cd6f 100644--- a/youtube_dl/extractor/vlive.py+++ b/youtube_dl/extractor/vlive.py@@ -116,7 +116,7 @@ class VLiveIE(InfoExtractor):subtitles = {}for caption in playinfo.get('captions', {}).get('list', []):- lang = dict_get(caption, ('language', 'locale', 'country', 'label'))+ lang = dict_get(caption, ('locale', 'language', 'country', 'label'))if lang and caption.get('source'):subtitles[lang] = [{'ext': 'vtt',