Save an MP3 stream with Curl
Use the following code to save a MP3 stream to disk. Useful with cron to record a show for later time shifting.
curl -sS -o /tmp/output.mp3 --max-time 1800 http://stream1.opb.org/radio.mp3
Courtesy of comandlinefu.com
Use the following code to save a MP3 stream to disk. Useful with cron to record a show for later time shifting.
curl -sS -o /tmp/output.mp3 --max-time 1800 http://stream1.opb.org/radio.mp3
Courtesy of comandlinefu.com