Skip to content

Instantly share code, notes, and snippets.

@BrickXu
Last active December 18, 2017 02:55
Show Gist options
  • Save BrickXu/7d716a3b981375c34c171f1a5493b142 to your computer and use it in GitHub Desktop.
Save BrickXu/7d716a3b981375c34c171f1a5493b142 to your computer and use it in GitHub Desktop.
Download KubeCon + CloudNativeCon North America 2017 PPTs
curl -s --compressed https://kccncna17.sched.com/ | egrep "<span class='event ev_\d+'><a href='.*' class" -o | awk -F "'" '{print $4}' | xargs -L 1 -I {} curl -s --compressed https://kccncna17.sched.com\{\} | egrep "<a class=\"file-uploaded file-uploaded-pdf\"" | awk -F "\"" '{print $4}' | xargs -P 10 -L 1 -I {} wget {}
@BrickXu
Copy link
Author

BrickXu commented Dec 18, 2017

dealing with gzip response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment