Created
June 9, 2014 00:52
-
-
Save phnessu4/6a5301d1518bde913575 to your computer and use it in GitHub Desktop.
wwdc downloader
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
多线程下载请安装axel (brew install axel) | |
PDFs: | |
curl https://developer.apple.com/videos/wwdc/2014/ | grep -ioI 'http.*pdf?dl=1' | sed 's/\?dl=1//g' | xargs -n1 axel -a -n 4 | |
Videos: | |
curl https://developer.apple.com/videos/wwdc/2014/ | grep -ioI 'http.*._hd_.*dl=1">HD' | sed -e 's/\?dl=1">HD//g'| xargs -n1 axel -a -n 8 | |
单线程下载请替换最后的piping section为 xargs -n1 curl --remote-name | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment