Created
September 15, 2016 21:57
-
-
Save mousepotato/c48b0fe3aba85b7b74bc0d7010a54591 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
bib=$1 | |
wget www.finisherpix.com/photos/my-photos/currency/USD/pctrl/Photos/paction/search/pevent/ironman-703-santa-cruz-2016/pbib/${bib}.html -O a.html | |
awk '/\<img data-photoId/{ print $0 }' a.html | awk '{print $4}' | awk -F\" '{print "http:"$2}' | xargs wget |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment