Skip to content

Instantly share code, notes, and snippets.

@juanriaza
Created June 14, 2012 09:24
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juanriaza/2929272 to your computer and use it in GitHub Desktop.
Save juanriaza/2929272 to your computer and use it in GitHub Desktop.
DjangoCon EU 2012 videos
# brew install rtmpdump
print ' && '.join(['rtmpdump -r "rtmp://streamcloud.klewel.com/cfx/st/v0/djangocon-2012-flash-%d.flv" -o djangocon-2012-flash-%d.flv' % (i, i) for i in xrange(1, 45 + 1)])
@agonzalezro
Copy link

Using bash directly:

for i in `seq 1 46`; do rtmpdump -r "rtmp://streamcloud.klewel.com/cfx/st/v0/djangocon-2012-flash-$i.flv" -o djangocon-2012-flash-$i.flv&; done

BTW, you can use .format(index=i) instead create a tuple for it.

@agonzalezro
Copy link

And I forgot, thanks for the script, I will take a look to some of the videos ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment