Created
June 19, 2022 10:32
-
-
Save guychouk/85b23d111f50f46ef89c475a0b457e3c to your computer and use it in GitHub Desktop.
π Scrape IMGs from HTML page using html-xml-utils.
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
#!/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