View Single Post
  #1   (View Single Post)  
Old 10th August 2017
kerasi kerasi is offline
Shell Scout
 
Join Date: Mar 2013
Location: Germany
Posts: 90
Default youtube_dl error

Hello

i hope anyone can help me.

if i try this

Code:
  # youtube-dl https://www.youtube.com/watch?v=iZrMkIX8QyY       
[youtube] iZrMkIX8QyY: Downloading webpage
[youtube] iZrMkIX8QyY: Downloading video info webpage
[youtube] iZrMkIX8QyY: Extracting video information
WARNING: unable to extract uploader nickname
[youtube] iZrMkIX8QyY: Downloading MPD manifest
[dashsegments] Total fragments: 39
[download] Destination: Hubert Kah - Engel 07 (Na Sowas! 1984)-iZrMkIX8QyY.f136.mp4
[download]   7.7% of ~19.40MiB at  1.78MiB/s ETA 00:07Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/__init__.py", line 465, in main
    _real_main(argv)
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/__init__.py", line 455, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1956, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 787, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 841, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1599, in process_video_result
    self.process_info(new_info)
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1857, in process_info
    partial_success = dl(fname, new_info)
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1805, in dl
    return fd.download(name, info)
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/downloader/common.py", line 361, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/downloader/dash.py", line 48, in real_download
    self._append_fragment(ctx, frag_content)
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/downloader/fragment.py", line 114, in _append_fragment
    os.remove(ctx['fragment_filename_sanitized'])
UnicodeEncodeError: 'ascii' codec can't encode character u'\u201e' in position 23: ordinal not in range(128)
i get those messages :-( why does this not work?

i updated all packeges with

pkg_add -Uu

and than

pip install --upgrade youtube-dl
Reply With Quote