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.
Is it possible to use just a portion of the {title}-string for file naming in the output template? #16521
Comments
|
Not possible. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.05.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?
Description of your issue, suggested solution and other information
Hi,
I want to separate my downloads into subfolders named by a portion of the {title}-string.
So downloading a video like John Doe - Classic Song will result in
Is it currently possible to archive this with just using the output template? What shall I do with the {title}-var to truncate it until it reaches the
-?Afaik the python string formatting options can't be used to pass a regex to the output format (using
-o).Thanks in advance!