-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need --trim-filenames
option to be added please!
#215
Comments
--trim-fienames
option to be added please!--trim-filenames
option to be added please!
I won't be available until wednesday, so if you need it faster you could contribute :) |
Thanks! |
I'm not sure that this option properly works, because I've tested and getting these results (--trim-filenames 12):
So it looks like that it cuts the download path, not the filename 🤔 Given that oDAw7vW7H0c title is 10 chars long, it should not truncate at all you can find the code here: https://github.com/norkunas/youtube-dl-php/tree/trim-filenames |
Ok, I'll verify this when I have a chance and let you know my thoughts. Thanks for the update |
Please add
--trim-filenames
because some of the videos I try downloading give error[Errno 36] File name too long: '/tmp/....webp
and[Errno 36] File name too long: '/tmp/...description
and so on.See this yt-dlp/yt-dlp#2329 (comment)
Thank you!
The text was updated successfully, but these errors were encountered: