Created
August 20, 2011 06:44
-
-
Save kbaribeau/1158770 to your computer and use it in GitHub Desktop.
Download all DAS screencasts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
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
You need to have a cookies.txt handy that contains a cookie from a logged-in session on destroyallsoftware.com.