Skip to content

Instantly share code, notes, and snippets.

@meddulla
Created January 3, 2010 18:35
Show Gist options
  • Save meddulla/268075 to your computer and use it in GitHub Desktop.
Save meddulla/268075 to your computer and use it in GitHub Desktop.
download m3u playlist with curl
# see http://wiki.alcidesfonseca.com/blog/casual-programming/
# if no wget (as in mac 10.3) curl can be used
import os
for line in open("index.m3u"):
os.system("curl -O %s" % line)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment