From 57ef1e6acf9e6de0e7ea615576f8e2b0079061aa Mon Sep 17 00:00:00 2001 From: "U-DESKTOP-3VIS1T9\\junguler" Date: Mon, 28 Aug 2023 17:57:56 +0330 Subject: [PATCH] add the missing live to radio_map.eu script shh, nobody saw that --- stuff/radio_map.eu.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stuff/radio_map.eu.sh b/stuff/radio_map.eu.sh index 41675d53a..09db08527 100755 --- a/stuff/radio_map.eu.sh +++ b/stuff/radio_map.eu.sh @@ -3,6 +3,9 @@ # get a list of all the cities curl -s https://worldradiomap.com/list/ | htmlq -a href a | sort | uniq | grep -v "about\|twitter\|links\|list" | awk 'length>2' > list.txt +# get the list.txt ready to further operations +sed -i -e 's|\.\.|https\://worldradiomap.com|g' -e 's/\.htm//g' -e 's/\r$//' list.txt + # find all cities in radiomap.eu for i in $(cat list.txt | grep "radiomap.eu") ; do curl -s $i | htmlq -a href a | grep "\../" | awk 'length>10' | grep -v "about" | sed -e 's/\.htm//g' -e 's|\.\.||g' > A-$(echo $i | awk -F '/' '{print $4"-"$5}').txt ; echo $i ; done