I'm using youtube-dl
frequently and have a quite simple file-naming scheme: lower case only and things of the same group are connected with "-" (minus, dash, etc.) while different things are connected with "_" (underscores).
I'm not into regex and therefore, really puzzled if it is possible to configure youtube-dl
config-file to store the downloaded clips according to my naming scheme. E.g.:
video:
youtube-dl https://www.youtube.com/watch?v=X8uPIquE5Oo
my youtube-dl config
:
--output '~/videos/%(uploader)s_%(upload_date)s_%(title)s.%(ext)s' --restrict-filenames
my output:
Queen_Forever_20111202_Bohemian_Rhapsody_Live_at_Wembley_11-07-1986.mp4
desired output:
queen-forever_20111202_bohemian-rhapsody-live-at-wembley-11-07-1986.mp4
NB: The manual says there are possible python options, but I cannot transfer them to my case.