From 4637b069f9b1f909e4c1e872a0a94d1fe4934f65 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Wed, 5 Oct 2022 11:30:31 +0800 Subject: [PATCH] youtube-dl --- Makefile | 6 +++++- install/youtube-dl | 13 +++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100755 install/youtube-dl diff --git a/Makefile b/Makefile index 8bb5cca..1d4ec20 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Autogenerated at 04.10.2022 13:10 using ./gen-makefile +# Autogenerated at 05.10.2022 11:23 using ./gen-makefile .DEFAULT_GOAL := help #=============================================== @@ -170,6 +170,10 @@ vivaldi: wine: @./install/wine +# Install youtube-dl +youtube-dl: + @./install/youtube-dl + # Install zint (latest) zint: @./install/zint diff --git a/install/youtube-dl b/install/youtube-dl new file mode 100755 index 0000000..789a9bd --- /dev/null +++ b/install/youtube-dl @@ -0,0 +1,13 @@ +#!/bin/bash +##makedesc: Install youtube-dl + +# https://github.com/ytdl-org/youtube-dl#installation + +echo +echo "===============================================" +echo "Installing youtube-dl..." +echo "===============================================" +echo + +sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o "${HOME}/.local/bin/youtube-dl" +sudo chmod +rx "${HOME}/.local/bin/youtube-dl"