Skip to content

Instantly share code, notes, and snippets.

@kbaribeau
Created August 20, 2011 06:44
Show Gist options
  • Save kbaribeau/1158770 to your computer and use it in GitHub Desktop.
Save kbaribeau/1158770 to your computer and use it in GitHub Desktop.
Download all DAS screencasts
#!/bin/bash
set -e
for file in `curl -s https://www.destroyallsoftware.com/screencasts/catalog |
grep screencasts |
tail -n +6 |
grep '(' |
cut -d '"' -f 2`; do
filename=$(echo $file | cut -d '/' -f 4)
curl -L -b cookies.txt https://www.destroyallsoftware.com$file > $filename.mov
done
@kbaribeau
Copy link
Author

You need to have a cookies.txt handy that contains a cookie from a logged-in session on destroyallsoftware.com.

@searls
Copy link

searls commented Aug 21, 2011

Seems ironic that you don't have a spec for it.

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