ytdl-service/submit-list.sh
2025-02-25 14:45:14 +03:00

7 lines
222 B
Bash

for line in $(cat list.txt) ; do
if ! [ -z $line ] && ! [[ $line == "#"* ]] ; then
echo "Submit $line"
echo "$line" | curl -X POST http://127.0.0.1:9182/add --data-binary @-
echo ""
fi
done