Added Jim Henson's The Storyteller playlist
This commit is contained in:
parent
a51590ccbb
commit
03d5ccc5cf
9
allowed-playlists/PLQTMPtKpo-ck440FEBCqAnpE9BkuOX87W.txt
Normal file
9
allowed-playlists/PLQTMPtKpo-ck440FEBCqAnpE9BkuOX87W.txt
Normal file
@ -0,0 +1,9 @@
|
||||
gDCOoJSeEc4
|
||||
8Cwf_kfsbNM
|
||||
WeZTllDf4J8
|
||||
InT421ckGXI
|
||||
nYpVDgcrnAg
|
||||
BY7Ao0lbUPw
|
||||
8uG5wl77ksQ
|
||||
OfSCMq8ouis
|
||||
54ja-_UaFGU
|
12
scripts/allow-list-videos.sh
Executable file
12
scripts/allow-list-videos.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user