From d387822e91f242eb4012cd48b88a2ff02c173ad8 Mon Sep 17 00:00:00 2001 From: Cody Chen Date: Sun, 30 Jun 2024 22:16:11 -0700 Subject: [PATCH] Updated youtube-dl download file Original yt-dl.org website has been blocked, but the latest official version of the youtube-dl license can be obtained from https://github.com/ytdl-org/ytdl-nightly/releases/latest/ --- prep/download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prep/download.py b/prep/download.py index f2d789a..fb864c2 100644 --- a/prep/download.py +++ b/prep/download.py @@ -27,7 +27,7 @@ def main(): os.makedirs(args.dest, exist_ok=True) youtube_dl = os.path.join(os.getcwd(), "youtube-dl") if not os.path.isfile(youtube_dl): - cmd = f"curl -L https://yt-dl.org/downloads/latest/youtube-dl -o {youtube_dl}\nchmod +rx {youtube_dl}" + cmd = f"curl -L https://github.com/ytdl-org/ytdl-nightly/releases/latest/download/youtube-dl -o {youtube_dl}\nchmod +rx {youtube_dl}" print(cmd) subprocess.call(cmd, shell=True) if not args.slurm: