Is it possible to obtain the spoken language from youtube-dl?
问题 I'm using youtube-dl to download videos from youtube that we query using words from a target foreign language, but there's no guarantee that the video is in the target language. Is there any way to know what is the spoken language in a video when using youtube-dl? I figure youtube must know this info since it generates captions for some videos. Thanks! 回答1: I am not sure if you can use youtube-dl to get the video language, but if you use the Youtube Data API it is possible. The documentation