mps-youtube / pafy

Python library to download YouTube content and retrieve metadata
1.39k stars 313 forks source link

File name too long #147

Open ghost opened 8 years ago

ghost commented 8 years ago

I'm fetching non-YouTube titles and some of them are >200, as far as I can tell pafy renames the files after the video has been downloaded, making it impossible to save them because of the filename. A check to append "..." if the length is > 150 or so would be nice.

ids1024 commented 8 years ago

Commit 13fe5b2525f9fd85cc3b588b6d97aa511ba09e4a should fix this.

ids1024 commented 8 years ago

Wait, why 150 characters? It seems that almost all file systems should support file names up to 256 characters...