Created
December 8, 2016 09:10
-
-
Save agp8x/1c1d8d64a9a2fed770479dabcb3cb1fe to your computer and use it in GitHub Desktop.
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
for t in iot webops-perf design programming web-platform data;do mkdir $t;for i in `curl -s http://www.oreilly.com/$t/free/|grep 'csp'|cut -d'"' -f2|cut -d? -f1`;do for l in `curl -s $i'?download=yes&order=42'|grep data-src|cut -d'"' -f2`;do wget $l -P $t;done;done;done; | |
for t in iot webops-perf design programming web-platform data;do mkdir $t;for i in $(curl -s http://www.oreilly.com/$t/free/|grep 'csp'|cut -d'"' -f2|cut -d? -f1);do for l in $(curl -s $i'?download=yes&order=42'|grep data-src|cut -d'"' -f2);do wget $l -P $t;done;done;done; | |
#for t in iot webops-perf design programming web-platform data;do mkdir $t;for i in `curl -s http://www.oreilly.com/$t/free/|grep 'csp'|cut -d'"' -f2|cut -d? -f1`;do for l in `curl -s $i'?download=yes&order=42'|grep data-src|grep pdf|cut -d'"' -f2`;do wget $l -P $t;done;done;done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment