|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|
|||
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 updated all packeges with pkg_add -Uu and than pip install --upgrade youtube-dl |
|
|||
Please provide the output of the following command:
$ sysctl kern.version
|
|
|||
Hi :-)
this is the output Code:
$ sysctl kern.version kern.version=OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar 8 11:04:17 MDT 2015 deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP |
|
|||
OpenBSD 5.7 is no longer officially supported.
As described in the official FAQ's section on flavors, any version of OpenBSD is officially supported for only one year. OpenBSD 5.7 ceased to be officially supported as of spring 2016 with the release of OpenBSD 5.9. The latest version of OpenBSD to be released as of this date is OpenBSD 6.1. You may receive a response to your question, but be beware that the software you are running in considered ancient, & outside of what project developers have any interest in supporting. Although this site is not officially affiliated with the OpenBSD project proper, we try to stay in line with their policies. We highly recommend you either upgrade, or perform a fresh installation of a newer version. From personal experience, I know that www/youtube-dl frequently needs to be updated as the access methods allowed by YouTube are frequently modified. |
|
|||
Thank you very much for the Information, if i have the Time i will install it new
|
|
|||
I second what ocicat said about it needing to be updated frequently. In fact there's usually a new version every week or so. Since it's nothing more than a single Python script, I suggest you download it to your ~/bin directory and keep it up to date with
youtube-dl.py -U .
__________________
May the source be with you! |
|
|
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 |