]> jfr.im git - yt-dlp.git/commit
[extractor/youtube] Support changing extraction language (#4470)
authorcoletdjnz <redacted>
Fri, 9 Sep 2022 05:16:46 +0000 (05:16 +0000)
committerGitHub <redacted>
Fri, 9 Sep 2022 05:16:46 +0000 (05:16 +0000)
commitc26f9b991a0681fd3ea548d535919cec1fbbd430
tree052fb8175e3a24a093115f2b262a2854a9019146
parent0c0b78b273a15f360508f80a2920e39a63b520bc
[extractor/youtube] Support changing extraction language (#4470)

Adds `--extractor-args youtube:lang=<supported lang code>` extractor arg to prefer translated fields (e.g. title and description) of that language, if available, for all YouTube extractors. See README or error message for list of supported language codes.

Closes https://github.com/yt-dlp/yt-dlp/issues/387

Authored by: coletdjnz
README.md
yt_dlp/extractor/youtube.py