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.
Non-ascii characters results an exception #2095
Comments
|
This has been fixed in youtube-dl 2014.01.05. Type |
If the video title contains a non-ascii char (in my case: é), an exception is raised while converting to mp3:
Traceback (most recent call last):
File "main.py", line 18, in
File "youtube_dl__init__.pyo", line 744, in main
File "youtube_dl__init__.pyo", line 734, in _real_main
File "youtube_dl\YoutubeDL.pyo", line 915, in download
File "youtube_dl\YoutubeDL.pyo", line 504, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 531, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 721, in process_video_result
File "youtube_dl\YoutubeDL.pyo", line 898, in process_info
File "youtube_dl\YoutubeDL.pyo", line 945, in post_process
File "youtube_dl\PostProcessor.pyo", line 154, in run
File "youtube_dl\PostProcessor.pyo", line 124, in get_audio_codec
File "subprocess.pyo", line 711, in init
File "subprocess.pyo", line 948, in _execute_child
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 33: ordinal not in range(128)
command arguments:
--extract-audio --audio-format mp3 --title --auto-number
I am running python 2.6 on windows 7