Skip to content

Instantly share code, notes, and snippets.

@nzbart
Last active July 24, 2019 03:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nzbart/b8c3f292269e6647b6e7f5bbf26dc5d6 to your computer and use it in GitHub Desktop.
Save nzbart/b8c3f292269e6647b6e7f5bbf26dc5d6 to your computer and use it in GitHub Desktop.
Download all episodes of Red Hat's Command Line Heroes as MP3 files. Using the command line, of course.
#!/usr/bin/sh
curl -Ss https://feeds.pacific-content.com/commandlineheroes | hxnormalize -ex | hxselect "enclosure[url\$='.mp3']::attr(url)" -c -s '\n' | xargs -n 1 curl -LO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment