Skip to content

Instantly share code, notes, and snippets.

View callado4's full-sized avatar

Jose Martinez callado4

View GitHub Profile
# brew install httpie htmlq wget
http "https://www.weichert.com/xxxx/" | htmlq -a "src" "#pdp-photos .pdp-photo[onerror='fix(this)']" | awk '{print "https:" $0}' | xargs wget
http "https://www.weichert.com/xxxx/" | htmlq -a "data-lazy" "#pdp-photos .pdp-photo" | awk '{print "https:" $0}' | xargs wget