imgururl() {
# 1/3 chance for length of 5, 6 or 7 length string
STRLN=$((5 + ${RANDOM} % 3))
imgururl() {
# 1/3 chance for length of 5, 6 or 7 length string
STRLN=$((5 + ${RANDOM} % 3))
if [[ $(testimgur ${URL}) == "true" ]]; then
echo "Found ${URL} after ${FAIL} failed tries"
${BROWSER} ${URL} > /dev/null 2>&1
if [[ $(testimgur ${URL}) == "true" ]]; then
echo "Found ${URL} after ${FAIL} failed tries"
${BROWSER} ${URL} > /dev/null 2>&1