Added Jim Henson's The Storyteller playlist

This commit is contained in:
Eliezer Croitoru 2024-09-20 00:39:47 +03:00
parent a51590ccbb
commit 03d5ccc5cf
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,9 @@
gDCOoJSeEc4
8Cwf_kfsbNM
WeZTllDf4J8
InT421ckGXI
nYpVDgcrnAg
BY7Ao0lbUPw
8uG5wl77ksQ
OfSCMq8ouis
54ja-_UaFGU

12
scripts/allow-list-videos.sh Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
LIST_ID="$1"
echo "${LIST_ID}" |egrep "^([a-zA-Z0-9\_\-]+)$" >/dev/null
if [ "$?" -eq "0" ]
then
LIST_URL="https://www.youtube.com/playlist?list=${LIST_ID}"
yt-dlp --netrc --netrc-location /root/.netrc --verbose --flat-playlist --print id "${LIST_URL}" | tee "allowed-playlists/${LIST_ID}.txt"
else
echo "Missing a valid list ID" >&2
fi