Use a pip-installed YouTube downloader
This commit is contained in:
parent
56085de482
commit
c5f6a850f0
3 changed files with 10 additions and 1 deletions
|
|
@ -21,7 +21,6 @@ swayidle \
|
|||
swaylock \
|
||||
syncthing \
|
||||
tmux \
|
||||
youtube-dl \
|
||||
"
|
||||
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get install --yes ${DEB_PKGS}
|
||||
|
|
|
|||
6
.config/setup/04-install-venv.sh
Executable file
6
.config/setup/04-install-venv.sh
Executable 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
4
.local/bin/yt-dlp
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#! /usr/bin/sh
|
||||
|
||||
. ~/Downloads/.venv/bin/activate
|
||||
yt-dlp "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue