Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-ascii characters results an exception #2095

Closed
yose15 opened this issue Jan 4, 2014 · 1 comment
Closed

Non-ascii characters results an exception #2095

yose15 opened this issue Jan 4, 2014 · 1 comment

Comments

@yose15
Copy link

@yose15 yose15 commented Jan 4, 2014

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

@phihag phihag closed this in 8bf48f2 Jan 5, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Jan 5, 2014

This has been fixed in youtube-dl 2014.01.05. Type youtube-dl -U to update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.