DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
shc unistd.h:239: error: syntax error before '&' token laraaj OpenBSD General 3 11th September 2010 07:21 AM
Buildworld error terryd FreeBSD Installation and Upgrading 2 1st February 2009 11:05 AM
help error darken FreeBSD General 1 21st September 2008 09:28 PM
VLC run error mfaridi OpenBSD Packages and Ports 14 29th May 2008 05:38 PM
error kde darken FreeBSD General 1 5th May 2008 08:45 PM


All times are GMT. The time now is 03:01 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick