Kethsar / ytarchive

Garbage Youtube livestream downloader
MIT License
1.04k stars 86 forks source link

output filename #106

Closed vden89 closed 1 year ago

vden89 commented 1 year ago

Hello. I want the output filename to contain the date in DD-MM-YYYY format. Not YYYYMMDD as default. How should I do it?

Kethsar commented 1 year ago

ytarchive uses the date strings as they are received from Youtube, and does not parse them for formatting.

I would suggest using some function when setting the output name to add that formatted date for you. Not sure what that would be on Windows, but on *nix you could use $(date +%d-%m-%Y). Try finding the equivalent for Windows if you want. Might not work too great when monitoring channels though since it would be set immediately as part of the flag but it's something.