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.
Add patterns to --restrict-filenames for less character replacements #3665
Comments
|
Why do you use |
|
I've got a few unresolved issues with multiple os, international file names, and irregular characters under php that I haven't been able to work around but that aren't actually related to youtube-dl. This would be a nice feature, but I understand if you're going the deprecation route rather than enhancement. |
|
Restrict-filenames is a very important parameter, would be a great shame if it was removed.. I do feel that it would be beneficial to be able to tell restrict-filenames to allow certain characters like spaces, brackets and & etc... |
|
Sure, this might make things a little clearer at-least as to why its important to me... D:\Documents\youtube>youtube-dl --extract-audio --audio-format mp3 https://www.youtube.com/watch?v=uBC2ns0rxNw D:\Documents\youtube>youtube-dl --extract-audio --audio-format mp3 --restrict-filenames https://www.youtube.com/watch?v=uBC2ns0rxNw |
|
That's why I'm hesitant to promote or keep |
I use --restrict-filenames almost always, but have no need to replace spaces with underscores. Perhaps this could be done by implementing a replacement template similar to the -o output template?