two files visit.sh and links
#!/bin/bash
browser='Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0'
while IFS='' read -r line || [[ -n "$line" ]]; do
curl -s -L -A ${#browser} $line
sleep 5
done < "$1"
#!/bin/bash
browser='Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0'
while IFS='' read -r line || [[ -n "$line" ]]; do
curl -s -L -A ${#browser} $line
sleep 5
done < "$1"
now populate the links
But it is sequentially finishing the links file - so make a random number generator and select a line from the links and make it while (1)