aajanki / yle-dl

Download videos from Yle servers
https://aajanki.github.io/yle-dl/index-en.html
GNU General Public License v3.0
302 stars 52 forks source link

Output template with subdirectory #296

Closed pkorpine closed 2 years ago

pkorpine commented 2 years ago

This allows to specify subdirectories with the output template definition using '/'. Nested subdirectories are also supported. A flag --create-dirs is added to automatically create missing directories.

For example: --output-template '${series}/${title} --create-dirs will store files as ${title} to subdirectories defined by the ${series} metadata.

aajanki commented 2 years ago

Thanks for the contribution! Merged.