Adjusted echo format for better readability.

main
Sleeping Crows 2023-05-18 22:42:07 -04:00
parent 63c3869bf9
commit 9db2002a9e
1 changed files with 3 additions and 3 deletions

View File

@ -68,11 +68,11 @@ do
result=$(curl -s --stderr - https://www.furaffinity.net/view/$ranid)
if grep -q "not in our database" <<< "$result"; then
echo "$ranid does not exist, logged and re-rolling. ($i of $rep)"
echo "($i of $rep) $ranid does not exist, logged and re-rolling."
echo "$ranid" >> already-checked.txt
sleep 0.5
elif grep -q "pending deletion" <<< "$result"; then
echo "$ranid is pending deletion, logged and re-rolling. ($i of $rep)"
echo "($i of $rep) $ranid is pending deletion, logged and re-rolling."
echo "$ranid" >> already-checked.txt
sleep 0.5
# if it passes the second test, run the main script.
@ -80,7 +80,7 @@ do
# Only upticks the counter on a hit.
xdg-open https://furaffinity.net/view/$ranid 2> /dev/null
echo "$ranid" >> already-checked.txt
echo "🔫 New Submission! $ranid ($i of $rep)"
echo "($i of $rep) 🔫 New Submission! $ranid "
counts=$(wc already-checked.txt | awk '{print $1}')
sleep 0.5 #to avoid site throttling.