Periodic update

This commit is contained in:
Eliezer Croitoru committed 2024-08-30 05:52:40 +03:00
1 parent 2c35fbd57b
commit 99d6f00aac
7 files changed
+2957 -1

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ echo "${USER_ID}" |egrep "^([a-zA-Z0-9@]+)$" >/dev/null
if [ "$?" -eq "0" ]
then
CHANNEL_URL="https://www.youtube.com/${USER_ID}/videos"
yt-dlp -v --flat-playlist --print id "${CHANNEL_URL}" | tee "allowed-channels/${USER_ID}.txt"
yt-dlp --netrc --netrc-location /root/.netrc --verbose --flat-playlist --print id "${CHANNEL_URL}" | tee "allowed-channels/${USER_ID}.txt"
else
echo "Missing a valid channel URL" >&2
fi