Last active
May 8, 2016 20:23
-
-
Save StevenMaude/52fb70d111ead34dbcbe to your computer and use it in GitHub Desktop.
Download the Coffee Break French podcasts using curl
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/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