Skip to content

Instantly share code, notes, and snippets.

@StevenMaude
Last active May 8, 2016 20:23
Show Gist options
  • Save StevenMaude/52fb70d111ead34dbcbe to your computer and use it in GitHub Desktop.
Save StevenMaude/52fb70d111ead34dbcbe to your computer and use it in GitHub Desktop.
Download the Coffee Break French podcasts using curl
#!/bin/bash
for i in {01..02} {04..24} {26..80} {301..340} ; do
curl -f -O -J -L https://media.libsyn.com/media/coffeebreakfrench/cbf-$i-basic.mp3
done
for i in {401..424} {426..440} ; do
curl -f -O -J -L https//media.libsyn.com/media/coffeebreakfrench/cbf-$i-main.mp3
done
# Handle cases which don't fit the normal pattern.
curl -f -O -J -L https://media.libsyn.com/media/coffeebreakfrench/cbs-03-basic.mp3
curl -f -O -J -L https://media.libsyn.com/media/coffeebreakfrench/cbf-25-basic-repost.mp3
curl -f -O -J -L https://media.libsyn.com/coffeebreakfrench/cbf-425-main-v2.mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment