Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
YouTube --write-info-json only writes info on available automatic subtitles if they have been downloaded #20520
Comments
|
Is this a valid issue and is anyone working on it? I am a student at the University of Michigan looking to contribute to an open source project for my upper level software engineering class. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2019.03.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
Output:
Section
automatic_captionsis empty in info.jsonWith the command given above, the section
automatic_captionsremains empty in the info.json file (see attachment). It will be filled if I run the following command:However, this will download 104 subtitle files I do not want.
My plan is to download the JSON file first and then decide on the basis of available subtitles and video resolutions whether I want to download the video and which video format to request. But it appears I cannot do this at the moment.
In short: If --all-subs is switched on, I would expect the
automatic_captionssection to be populated in the info.json.Thanks and best wishes,
Peter
EDIT: Adding --list-subs does not do the trick either. Then it does not write the info.json.