Download the contents of http://example.com, remove all lines starting with '#', cut the second field of each line, shuffle the lines, and print the first line.
curl -L http://example.com | grep -v -e '^#' | cut -f2 | shuf | head -n1