Created
June 21, 2015 08:55
-
-
Save thomaspockrandt/e9f9b03e0dc6628d1afb to your computer and use it in GitHub Desktop.
Download all WWDC 2015 session videos w/ Terminal
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
HD | |
for i in `curl https://developer.apple.com/videos/wwdc/2015/ | grep -o '<a href="?id=[0-9]*' | cut -d '"' -f2`; do curl https://developer.apple.com/videos/wwdc/2015/${i} | grep -o 'http.*_hd_.*.mp4' | cut -d '"' -f5 | xargs curl -O; done | |
SD | |
for i in `curl https://developer.apple.com/videos/wwdc/2015/ | grep -o '<a href="?id=[0-9]*' | cut -d '"' -f2`; do curl https://developer.apple.com/videos/wwdc/2015/${i} | grep -o 'http.*_sd_.*.mp4' | cut -d '"' -f1 | xargs curl -O; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment