curl https://www.radioguide.fm/genre | htmlq -a href a | grep "/search/index?genre="| sort | uniq | cut -c21- > genres.txt
# get the links for the webpages
for i in ""\&page={2..15};dofor j in $(cat genres.txt);do curl -s "https://www.radioguide.fm/search/index?genre=$j$i&limit=250"|./htmlq -a href a | awk '!seen[$0]++'| grep "/internet-radio-"| cut -c2- | grep "/"| sed 's/\;//g'| sed '/^$/d' >> A-$j.txt ;echo -e "$j - $i";done;done
for i in ""\&page={2..15};dofor j in $(cat genres.txt);do curl -s "https://www.radioguide.fm/search/index?genre=$j$i&limit=250"| htmlq -a href a | awk '!seen[$0]++'| grep "/internet-radio-"| cut -c2- | grep "/"| sed 's/\;//g'| sed '/^$/d'| cut -c16- >> A-$j.txt ;echo -e "$j - $i";done;done