From 53cfd33f0f4c28cc26899052d412e2257e9edd8f Mon Sep 17 00:00:00 2001 From: kleph Date: Wed, 26 May 2021 22:29:57 +0200 Subject: [PATCH] Replace deprecated -t option in youtube-dl command line --- pytubedl/dl_wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytubedl/dl_wrapper.sh b/pytubedl/dl_wrapper.sh index 3bd129f..39357a3 100755 --- a/pytubedl/dl_wrapper.sh +++ b/pytubedl/dl_wrapper.sh @@ -25,5 +25,5 @@ fi pushd ${PWD} cd "${DOWNLOAD_DIR}" -youtube-dl -t "$url" +youtube-dl -o "%(title)s-%(id)s.%(ext)s" "$url" popd