This commit is contained in:
louiscklaw
2025-01-31 21:09:15 +08:00
parent fd583f2c63
commit 235b44cf96
34 changed files with 1017 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -ex
rm -rf *.part *.ytdl
sleep 1
if pgrep -x "yt-dlp" > /dev/null; then
echo "Process is running."
else
echo "Process is not running."
yt-dlp $1
# yt-dlp https://twitter.com/i/broadcasts/1OyKAWRYeOgJb
fi
mv *.mp4 ../_downloaded/