Use a pip-installed YouTube downloader

This commit is contained in:
Ohad Livne 2025-06-04 22:45:02 +03:00
parent 56085de482
commit c5f6a850f0
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
3 changed files with 10 additions and 1 deletions

View file

@ -21,7 +21,6 @@ swayidle \
swaylock \ swaylock \
syncthing \ syncthing \
tmux \ tmux \
youtube-dl \
" "
sudo DEBIAN_FRONTEND=noninteractive apt-get install --yes ${DEB_PKGS} sudo DEBIAN_FRONTEND=noninteractive apt-get install --yes ${DEB_PKGS}

View file

@ -0,0 +1,6 @@
#! /usr/bin/sh
cd ~/Downloads/
python3 -m venv .venv
. .venv/bin/activate
pip install yt-dlp

4
.local/bin/yt-dlp Executable file
View file

@ -0,0 +1,4 @@
#! /usr/bin/sh
. ~/Downloads/.venv/bin/activate
yt-dlp "$@"