2 copy a day. COINS for more ?!

This commit is contained in:
fred 2023-11-07 22:48:57 +01:00
parent 214727741c
commit b3f2bd5a0f
1 changed files with 3 additions and 2 deletions

View File

@ -112,8 +112,9 @@ if [[ ! ${TIDDLER} ]]; then
ZYURL=$(echo "$LINE" | cut -d '&' -f 2-)
echo "COPIE : $ZYURL"
## LIMIT TO 12 MAXIMUM COPY PER DAY PER PLAYER
[[ $tot == 13 ]] && echo "MAXIMUM COPY REACHED FOR TODAY" && break
## LIMIT TO 2 MAXIMUM COPY PER DAY PER PLAYER
[[ $tot == 3 ]] && echo "MAXIMUM COPY REACHED FOR TODAY" && break
## TODO ACCEPT MORE WITH COINS
TITLE="$(/usr/local/bin/yt-dlp $BROWSER --print "%(title)s" "${ZYURL}" | detox --inline)"
[[ ! $TITLE ]] && echo "NO TITLE" && continue