Created
November 11, 2020 20:10
-
-
Save rynote/c0351616516a9a10dbe66d43b54303bc to your computer and use it in GitHub Desktop.
Download the free daily 'Top Tune' from KCRW 89.9 FM automatically
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# run daily at 10am via crontab: | |
#0 10 * * 1-5 cd /home/pi/scripts && ./kcrwTopTune_grabber.sh | |
cd /home/pi/Music/KCRW_Todays_Top_Tune | |
wget -q "$(curl -s https://www.kcrw.com/music/shows/todays-top-tune | grep .mp3 | awk -F '"' '{print $2}')" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment