Last active
August 29, 2015 14:02
-
-
Save tonyarnold/39ecda49be46ae0041e1 to your computer and use it in GitHub Desktop.
Downloads all of the available WWDC2014 videos (assuming you have access to them), skipping any that are already downloaded and resuming any that aren't. Requires wget, which can be installed via homebrew. Original credit goes to Krzysztof: https://twitter.com/merowing_/status/474071685826883584. You'll need to be running wget 1.15 or later for …
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
echo "Downloading HD Videos…" | |
curl https://developer.apple.com/videos/wwdc/2014/ | grep -iIoh 'http.*._hd_.*dl=1">HD' | sed -e 's/\?dl=1">HD//g' | xargs -n1 wget -N -c | |
echo "Downloading SD Videos…" | |
curl https://developer.apple.com/videos/wwdc/2014/ | grep -iIoh 'http.*._sd_.*dl=1">SD' | sed -e 's/\?dl=1">SD//g' | xargs -n1 wget -N -c | |
echo "Downloading PDFs…" | |
curl https://developer.apple.com/videos/wwdc/2014/ | grep -iIohE 'http://[^/]+/videos/wwdc/2014/[^\.]+\.pdf\?dl=1">PDF' | sed -e 's/\?dl=1">PDF//g' | xargs -n1 wget -N -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment