Created
June 9, 2017 14:00
-
-
Save MarkVillacampa/ccf3b4f1eb583e3acbe0f98178c32d22 to your computer and use it in GitHub Desktop.
Download all 2017 video sessions in SD quality and PDF. Requires jq (https://stedolan.github.io)
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
curl -O --compressed https://devimages-cdn.apple.com/wwdc-services/h8a19f8f/049CCC2F-0D8A-4F7D-BAB9-2D8F5BAA7030/contents.json | |
jq '.contents[] | { title: .title, media: .media.downloadSD, id: .id } | if (.id | test(".*2017.*")) then . else empty end | if .media then .media else empty end' contents.json | xargs -n 1 wget -nc | |
jq '.contents[] | { title: .title, media: .media.slides, id: .id } | if (.id | test(".*2017.*")) then . else empty end | if .media then .media else empty end' contents.json | xargs -n 1 wget -nc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment