for i in "africa""asia""central-america""europe""north-america""oceania""south-america";do curl -s https://openradio.app/api/by-location/$i| jq -r '.countries[].code' >> countries.txt ;done
# find pages for each category
for i in ""\?skip={12..1200..12};dofor j in $(cat genres.txt);do curl -s https://openradio.app/api/list/global-genre/$j$i| jq -r '.items[] | {slug, id} | join("-")'| awk NF >> A-$j.txt ;echo -e "$j - $i";done;done
for i in ""\?skip={12..1200..12};dofor j in $(cat languages.txt);do curl -s https://openradio.app/api/list/by-language/$j$i| jq -r '.items[] | {slug, id} | join("-")'| awk NF >> A-lang-$j.txt ;echo -e "$j - $i";done;done
for i in ""\?skip={12..1200..12};dofor j in $(cat countries.txt);do curl -s https://openradio.app/api/list/by-location/country/$j$i| jq -r '.items[] | {slug, id} | join("-")'| awk NF >> A-loca-$j.txt ;echo -e "$j - $i";done;done