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.
Problem with non-latin file names #5288
Comments
|
Post the full output you get when running with |
|
This is the output with -v option: c:\youtube-dl>youtube-dl -v -o видео.mp4 http://vbox7.com/play:04e102e14a AND WITHOUT -O option: c:\youtube-dl>youtube-dl -v http://vbox7.com/play:04e102e14a The file was downloaded successfully when I didn't use -o option. |
|
I'm having the same problems here since I updated. Running git-bisect I get the following history with the provided example command: git bisect start
# bad: [ad320e9b8376221a3eda935a358886b6e7ab7bf6] [generic] Add support for 5min embeds (#5310)
git bisect bad ad320e9b8376221a3eda935a358886b6e7ab7bf6
# good: [99043c2ea5a670587b005a9cae33cd138a515290] Replace test for dailymotion users
git bisect good 99043c2ea5a670587b005a9cae33cd138a515290
# good: [8a2300a59703da441932f361e4e496bb64e4b502] [kontrtube] Fix video title extraction
git bisect good 8a2300a59703da441932f361e4e496bb64e4b502
# good: [4baea47c42c291564dcbbbfc93955afbd4a80460] release 2015.01.09.1
git bisect good 4baea47c42c291564dcbbbfc93955afbd4a80460
# good: [c2787701ccbe83a481029cf1fe8b74728e159a56] Merge pull request #4950 from peugeot/drtuber
git bisect good c2787701ccbe83a481029cf1fe8b74728e159a56
# good: [31bd39256b153391f521169ae449fd8c7c6e51d7] --load-info: Use the fileinput module
git bisect good 31bd39256b153391f521169ae449fd8c7c6e51d7
# good: [8508557e77362bf1e5bcc919e89e6b4aa5d101ba] [test/YoutubeDL] Use valid urls
git bisect good 8508557e77362bf1e5bcc919e89e6b4aa5d101ba
# good: [1887ecd4d629f44370846d372155512ec29e1f27] [twitch] Fix login
git bisect good 1887ecd4d629f44370846d372155512ec29e1f27
# bad: [8f76df7f3791bb085199eb90c3b4125931a44e55] Updated init to add 22tracks
git bisect bad 8f76df7f3791bb085199eb90c3b4125931a44e55
# good: [a1d0aa7b882484685a1a02185d0dafd51c545701] [libsyn] Fix extractor alphabetic order
git bisect good a1d0aa7b882484685a1a02185d0dafd51c545701
# good: [93f787070ff2de48023c5bfeaebd153b3e29137a] [twitch] Only match digits for the video id
git bisect good 93f787070ff2de48023c5bfeaebd153b3e29137a
# bad: [48c971e07336f1e5d33a760e454c52fac83392d5] release 2015.03.24
git bisect bad 48c971e07336f1e5d33a760e454c52fac83392d5
# good: [b0872c19ea6fb5dcc20d695d6faead4af42da364] [npo] Skip broken URL links (Closes #5266)
git bisect good b0872c19ea6fb5dcc20d695d6faead4af42da364
# bad: [f5e2efbbf0a4a1fa02df09a12ce9ec69970ab14c] [options] Handle special characters in argv (Fixes #5157)
git bisect bad f5e2efbbf0a4a1fa02df09a12ce9ec69970ab14c
# first bad commit: [f5e2efbbf0a4a1fa02df09a12ce9ec69970ab14c] [options] Handle special characters in argv (Fixes #5157)The log shows that the commit f5e2efb fixing #5157 was the first one to break unicode parameters. When I checkout the previous version b0872c1 everything works again. |
|
Thanks for the report. This issue will be fixed in the next version of youtube-dl. |
I get an error when I try to save file with non-latin name (cyrillic in my case).
The video URL is: http://vbox7.com/play:04e102e14a
"C:\Джена - Спри да ми досаждаш, 2015.mp4" "http://vbox7.com/play:04e102e14a"
Traceback (most recent call last):
File "main.py", line 19, in
File "youtube_dl__init__.pyo", line 408, in main
File "youtube_dl__init__.pyo", line 195, in _real_main
File "encodings\cp1251.pyo", line 15, in decode
UnicodeEncodeError: 'ascii' codec can't encode characters in position 23-27: ordinal not in range(12
8)