Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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)])

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.

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