Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@guychouk
Created June 19, 2022 10:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guychouk/85b23d111f50f46ef89c475a0b457e3c to your computer and use it in GitHub Desktop.
Save guychouk/85b23d111f50f46ef89c475a0b457e3c to your computer and use it in GitHub Desktop.
πŸŒ„ Scrape IMGs from HTML page using html-xml-utils.
#!/bin/sh
# Here is the original URL used to test this on:
# http://www.ghibli.jp/info/013251/
curl -s $1 | hxwls | grep -E "(jpg|png)" | grep -v thumb | xargs -I{} curl -s -O {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment