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.
How to save output of outtmpl as a variable? #23987
Comments
|
Found the answer here. |
Checklist
Question
Do you know if it is possible to capture the value of the filename created if
outtmpl ='./Songs/%(uploader)s/%(title)s-%(upload_date)s-%(id)s.%(ext)s'? I would like to perform other operations on the file, and having it's name available would be very convenient. I would think something like the following would work: