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.
I'm having this problem with unicodeencode #2374
Comments
|
Could you please run it adding the |
|
C:\youtube-dl>youtube-dl --add-metadata --verbose "http://www.youtube.com/watch? [debug] Encodings: locale 'cp1252', fs 'mbcs', out 'cp850', pref: 'cp1252' |
|
Thank you for the report. This has been solved in 269aecd and should work fine now. (At least it does for me in youtube-dl 2014.05.16, on Windows). |
Exact input is:
cd C:\youtube-dl
youtube-dl --add-metadata "http://www.youtube.com/watch?v=I87r-v9UmJE&list=PLK2Cy91Ga3S_2nOh8Uvt5fqV-EqoZjgP8&feature=mh_lolz"
Youtube-dl Version is
2014.02.10
Python version is:
Python 3.3.2
This is the error i get
\\\\\\\\\
C:\youtube-dl>youtube-dl --add-metadata "http://www.youtube.com/watch?v=I87r-v9U
mJE&list=PLK2Cy91Ga3S_2nOh8Uvt5fqV-EqoZjgP8&feature=mh_lolz"
[youtube:playlist] Downloading playlist PLPLK2Cy91Ga3S_2nOh8Uvt5fqV-EqoZjgP8 - a
dd --no-playlist to just download video I87r-v9UmJE
[youtube:playlist] PLK2Cy91Ga3S_2nOh8Uvt5fqV-EqoZjgP8: Downloading page #1
[download] Downloading playlist: asddddd
[youtube:playlist] playlist asddddd: Collected 31 video ids (downloading 31 of t
hem)
[download] Downloading video #1 of 31
[youtube] Setting language
[youtube] I87r-v9UmJE: Downloading webpage
[youtube] I87r-v9UmJE: Downloading video info webpage
[youtube] I87r-v9UmJE: Extracting video information
[download] TrapPegboard Nerds x Misterwives - Coffins [Free Download]-I87r-v9UmJ
E.mp4 has already been downloaded
[ffmpeg] Adding metadata to 'TrapPegboard Nerds x Misterwives - Coffins [Free Do
wnload]-I87r-v9UmJE.mp4'
Traceback (most recent call last):
File "main.py", line 18, in
File "youtube_dl__init__.pyo", line 800, in main
File "youtube_dl__init__.pyo", line 790, in _real_main
File "youtube_dl\YoutubeDL.pyo", line 982, in download
File "youtube_dl\YoutubeDL.pyo", line 510, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 620, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 546, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 510, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 539, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 763, in process_video_result
File "youtube_dl\YoutubeDL.pyo", line 965, in process_info
File "youtube_dl\YoutubeDL.pyo", line 1016, in post_process
File "youtube_dl\postprocessor\ffmpeg.pyo", line 472, in run
File "youtube_dl\postprocessor\ffmpeg.pyo", line 64, in run_ffmpeg
File "youtube_dl\postprocessor\ffmpeg.pyo", line 56, in run_ffmpeg_multiple_fi
les
File "subprocess.pyo", line 711, in init
File "subprocess.pyo", line 948, in _execute_child
UnicodeEncodeError: 'ascii' codec can't encode character u'\u3010' in position 1
70: ordinal not in range(128)
///////////////////////////////////////////