Last active
May 4, 2022 06:33
-
-
Save gotson/5441534447fa454b7df7789831d926e2 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
temp_file=$(mktemp) | |
jq -r '.log.entries[] | select(.response.content.mimeType == "image/jpeg") | .request["url"]' $1 > $temp_file | |
wget --input-file "$temp_file" | |
rm "$temp_file" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment