Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
youtube-dl using wrong file names internally for video with Russian title #2225
Comments
|
Switching cmd's codepage to 65001 (utf8) has no effect:
|
|
This should work when running youtube-dl with Python 3.4. Python 2.x's subprocess doesn't really work with Unicode on Windows (http://bugs.python.org/issue19264). I used to use 8.3 filenames to work around this, but it doesn't work for .webm files. Also, 8.3 filenames are being phased out in Windows 8.1 for performance reasons. |
|
The bug happens with the compiled executable. |
|
This was fixed with switch to python 3.4 for Windows build. |
youtube-dl version 2014.01.23.4
URL: https://www.youtube.com/watch?v=8ke_HEaWrLY
Console-log:
But the names of the downloaded files are
Супер Быстрая Девочка, Нереальная Скорость-8ke_HEaWrLY.f134.mp4andСупер Быстрая Девочка, Нереальная Скорость-8ke_HEaWrLY.f140.m4a.It's working with
--restrict-filenames, but it shouldn't be necessary.PS: I know
-f 134+140isn't necessary for this video, it was just a test.EDIT: