Install youtube-dl from Terminalat the moment i'm only eyeing on youtube-dl 😇
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
youtube-dl --version
sudo curl -L
Very important in this case because https://yt-dl.org/downloads/latest/youtube-dl redirects to the latest release from https://github.com/ytdl-org/youtube-dl/releases and the youtube-dl binary is downloaded from there.how important is that -L?
the manual seems to indicate it's for automatic redirections should that location had been changed
i had only used curl without -L before and it was working fine for me
Yes, that is the desired location.so is /usr/local/bin/ the default folder macOS is automatically using for add-on executables that didn't come pre-installed with the OS?
https://www.sobyte.net/post/2022-05/user-bin//usr/local/bin for the user’s own programs, e.g. if you compile a gcc, then the gcc executable binary should be in this directory.
env: python: No such file or directory
You already have Python 3, this works on Intelthe download and access permission changes worked beautifully, but when i was trying to launch or just version check it i'm getting this message:
restarting Terminal didn't help, so i guess it's time to go down that rabbit hole i was trying to avoid and install Python (or any programming language for that matter)? 🤡
would you suggest using Apple's CLDT, brew download select certain things, or something else? 🤠
echo "alias python=/usr/bin/python3" >> ~/.zshrc
alias python=/usr/bin/python3
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
Delete /usr/local/bin/youtube-dl and alias python=/usr/bin/python3 from ~/.zshrcno change, even after trying to put ' before and after the location to see if that helped
sudo -H pip3 install --upgrade pip
sudo pip3 install youtube_dl
youtube-dl --version
what the *pip* am i doing here?
https://pypi.org/project/pip/pip is the package installer for Python. You can use pip to install packages from the Python Package Index and other indexes.
sudo -H pip3 install --upgrade pip
sudo pip3 install youtube_dl
youtube-dl --version
I was under the impression that you already installed them, as you used curl.even trying to execute the first command line, it's asking me to install Apple's Developers Command Line Tools 😂
but maybe they can be useful even for a dummy like me anyway 🤓
https://developer.apple.com/library/archive/technotes/tn2339/_index.htmlWhat is the Command Line Tools Package?
The Command Line Tools Package is a small self-contained package available for download separately from Xcode and that allows you to do command line development in macOS.
WARNING: The directory '/Users/account/Library/Caches/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Use -H, example to update youtube-dli guess i can safely disregard #2, but does #1 affect performance in any way?
sudo -H pip3 install --upgrade youtube_dl
Use -H, example to update youtube-dl
so it's still the same version as before (maybe with some different cache settings, but i received no feedback regarding this)Requirement already satisfied: youtube_dl in /Library/Python/3.8/site-packages (2021.12.17)
It’s the latest version, no update required.is 2021.12.17 still the latest version?
This following is one great downloading app. I have used it for years (as have others here) without any problems. It will allow you to download the proper resolution and quickly.sorry, not a Terminal related question (though still a dummy one)
just finished my first download with youtube-dl and it seems to be capping vids at 720p, even if those are played on YT in 1080p or higher
it is the same behavior i had with VLC player, the one i was using "before"
am i using the wrong URLs, or does YT indeed cap downloads at 720p?
also DL speed seems very slow, haven't gotten more than 70KB/s yet... YT server related?