aajanki / yle-dl

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

output template: removing spaces #317

Closed ghost closed 2 years ago

ghost commented 2 years ago

Is removing the whitespace characters from filenames supported? I could process all yle-dl downloads with a script and change spaces to _ for instance, but then yle-dl could no longer detect the finished downloads (I'm sure there may be other drawbacks).

the special characters at least can be handled:

--vfat Create Windows-compatible filenames

aajanki commented 2 years ago

Currently there is no support for removing spaces. I can add support for it in the future.

aajanki commented 2 years ago

The git master branch now has --restrict-filename-no-spaces option that replaces whitespace with underscores.