Last active
August 29, 2015 14:09
-
-
Save bhargavg/9d5bfe1e30fe6efa875d to your computer and use it in GitHub Desktop.
One liners to download all WWDC 2014 videos
This file contains 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
# MAC (wont be able to resume a file if download is stopped in the middle) | |
curl --silent https://developer.apple.com/videos/wwdc/2014/ | egrep -o 'http://devstreaming.apple.com/videos/wwdc/2014/[^/]*/([0-9]+)/\1_hd_[^.]*.mov' | xargs -n1 curl -O | |
# Linux (wget supports resuming, freaking awesome) | |
wget --continue -i $(curl --silent https://developer.apple.com/videos/wwdc/2014/ | egrep -o 'http://devstreaming.apple.com/videos/wwdc/2014/[^/]*/([0-9]+)/\1_hd_[^.]*.mov') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment