![]() |
|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
youtube-dl is best installed using the pip system:
Code:
pip install youtube_dl |
|
||||
![]() Quote:
I am paranoid about security. Thanks for the suggestion. |
|
|||
![]()
There's also multimedia/py-pafy.
|
|
|||
![]()
You do realise that a browser addon/extension is also a piece of software installed outside the official repos?
|
|
|||
![]()
Only the install program (in this case pip) requires root privileges for its operations, not the port being installed, and it's trusted enough to be in ports. youtube-dl does not run with root privileges unless you ask it to. OBSD's own mitigations will take care of the rest.
Last edited by Paianni; 10th October 2018 at 03:16 PM. |
|
|||
![]() Quote:
But you need to keep it up to date since Google intentionally keeps changing the way YouTube works. Get the latest script from the MASTER site and save it to your ~/bin directory. Every week or so run youtube-dl.py -U to keep it up to date.
__________________
May the source be with you! |
|
||||
![]()
You can install the -current youtube-dl on a stable 6.3 system. I did so yesterday when youtube-dl stopped working for me.
Please note: installing -current packages on a release system is generally not a good idea. You're mixing different code bases which can cause all sorts of problems and conflicts. That being said, for sth. like youtube-dl it seems to work, and we're only a few weeks away from 6.4 so if you want to bridge that time frame do a Code:
pkg_add -v -D snap youtube-dl |
|
|||
![]() Quote:
There's no need to wait. Plus, 2 or 3 months after you upgrade, you'll be facing the exact same situation with YouTube as you are now anyway.
__________________
May the source be with you! |
|
|||
![]()
Youtube has constantly changed things since it was taken over by Google, it's been a problem at times on my other forums where we use it to upload our efforts playing musical instruments for others to see (or laugh at).
__________________
Linux since 1999, & also a BSD user. ![]() |
|
||||
![]() Quote:
Code:
chmod a+rx youtube-dl Code:
$ youtube-dl https://www.youtube.com/watch?v=qb3qUW4EyHc home$ |
|
|||
![]()
Perhaps it's because the script is in ~/bin and not in ~/.
|
|
||||
![]()
You'll also need to quote the special characters in the URL to protect them from the shell, so try something like this (once path issues are resolved):
% youtube-dl 'https://www.youtube.com/watch?v=qb3qUW4EyHc' (Note the single quotes in red.) |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
No sound problem on Youtube with OpenBSD 6.2/6.3 and Firefox (temporary solution) | new2BSDlol | OpenBSD Packages and Ports | 3 | 12th July 2018 10:11 PM |
Firefox in OpenBSD 6.0 supports YouTube videos | bsd-keith | OpenBSD Packages and Ports | 1 | 3rd September 2016 03:01 PM |
how to watch youtube videos on OpenBSD? | lucas34 | OpenBSD Packages and Ports | 28 | 11th March 2014 06:34 PM |
Router blocking downloading/ limit downloading | kelly | General software and network | 2 | 24th August 2011 08:13 PM |
firefox, linux-flash, nspluginwrapper, and youtube? | neurosis | FreeBSD Ports and Packages | 16 | 15th August 2008 06:46 AM |