Comment Cleanup
parent
04d5934ce6
commit
63c3869bf9
|
@ -65,11 +65,8 @@ do
|
||||||
else
|
else
|
||||||
# curl the url if it's not in the list already
|
# curl the url if it's not in the list already
|
||||||
# see if it errors out for not existing in the database.
|
# see if it errors out for not existing in the database.
|
||||||
# Idea: store the curl result in standard output as is, and query it for different results.)
|
|
||||||
result=$(curl -s --stderr - https://www.furaffinity.net/view/$ranid)
|
result=$(curl -s --stderr - https://www.furaffinity.net/view/$ranid)
|
||||||
|
|
||||||
#echo "DEBUG: CURL TEST == $result"
|
|
||||||
|
|
||||||
if grep -q "not in our database" <<< "$result"; then
|
if grep -q "not in our database" <<< "$result"; then
|
||||||
echo "$ranid does not exist, logged and re-rolling. ($i of $rep)"
|
echo "$ranid does not exist, logged and re-rolling. ($i of $rep)"
|
||||||
echo "$ranid" >> already-checked.txt
|
echo "$ranid" >> already-checked.txt
|
||||||
|
|
Loading…
Reference in New Issue