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.
UnicodeEncodeError: 'ascii' #436
Comments
|
Mmm, we're definitely passing a unicode object to Can anyone with a Windows machine verify the error? Do we need to restrict Windows file names to ASCII only? Anyway, thanks for reporting this issue, @BomberCraft . We'll look into it. |
|
Confirmed on a Windows XP machine running with Python 2.6.6 and the latest version of the script:
Printing the "args" object passed to subprocess.call yields this. I would guess that it doesn't like the Unicode characters in there:
|
|
Thank you, but without the -t argument, it should no longer be any Unicode character but the video still doesn't want to download: ERROR: unable to download video Is this an another bug? |
|
Yeah, unfortunately even without the -t argument, I think you hit bug #343 since the video uses RTMP. That's another issue entirely as far as I can tell. |
|
@BomberCraft for the ascii issue you can use |
|
@BomberCraft did |
|
Sorry, but It's been a long time since I've no longer download videos with special characters in the title, so I haven't tested the --restrict-filenames argument. |
|
@BomberCraft plz check it so that we can know that this issue is resolved and so we can close this issue. :) |
|
It seems to be resolved, I can't have this error again, I try download some russian video with the -t argument and all the unicode character have been delete in the title, so it works now. maybe.... |
|
@phihag this issue is resolved now. It's good to close. |
rtmpdump 2.4
Windows7 64bits
python 2.7.3
C:\Users******>youtube-dl.py --update
Updating to latest version...
youtube-dl is up-to-date (2012.09.27)
Sorry but I'm french and I don't speak english very well but I have this bug and and don't know what to do and I have read this: #264 (comment) so I open this.