Skip to content

Instantly share code, notes, and snippets.

@callado4
Created September 27, 2021 18:50
Show Gist options
  • Save callado4/f7fdfe8eabf66c3f886bb0e446012006 to your computer and use it in GitHub Desktop.
Save callado4/f7fdfe8eabf66c3f886bb0e446012006 to your computer and use it in GitHub Desktop.
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment