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.
title in file name doesn't match JSON title #654
Comments
|
This is intended behavior. Since I'm not sure what we could change: Which behavior would you expect? Personally, I think that the filename we pick at the moment is perfectly understandable. Leaving colons in on non-Windows systems would be possible, but is bound to lead to problems, say, when someone dual-boots or downloads to a USB thumb drive, and then can't open them on a Windows system. |
|
Closing for now, but feel free to leave a comment if you have a proposal on what youtube-dl should do. |
I run this command:
$ youtube-dl --write-info-json -t https://www.youtube.com/watch?v=dgI52y27O_Iresults in 2 files:
Inside the JSON file, both 'title' and 'stitle' are set to:
The filenames have ' -' in place of ':' - is that a bug?
(using version 2013.01.02)