jmbannon / ytdl-sub

Lightweight tool to automate downloading and metadata generation with yt-dlp
https://ytdl-sub.readthedocs.io
GNU General Public License v3.0
1.74k stars 70 forks source link

CMD Error "oserror [Winerror 123] #949

Closed rubin9family closed 6 months ago

rubin9family commented 6 months ago

when using "ytdl-sub sub" on cmd, it gives a weird os error. Screenshot ytdl error

How to Fix?

jmbannon commented 6 months ago

Can you post your config/subscription file. My guess is the OS does not like ? in the file name. That should be solved in the prebuilt presets, which makes me think you're using a custom config?

rubin9family commented 6 months ago

Sorry for the delay. I fixed it by adding Sanitized {title_ sanitized} to the file name in config. windows 10 cannot handle certain characters and causes cmd errors.

They should put in the Guid windows machines need _sanitized or crashes will come when video's name uses invalid characters.