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.
I try to use
youtube-dlfrom another program. I request info JSON as its name is predictable and it contains the actual file’s file name (which can vary depending on the file format chosen). However, whenyoutube-dldecides to use another format after starting the download, the file extension’s change isn’t reflected in the JSON file.Example output:
I won’t paste the whole JSON file as it’s pretty large (I can if it’s really needed), but it contains something like this:
(The output file name is
David Guetta - Dangerous (Official video) ft Sam Martin-EVr__5Addjw.mkv.)