This bash script makes it easy to quickly download and parse the output from https://crt.sh website. All you need to supply is the search term to query crt.sh for. Note that I've never had any luck querying for the actual domain name.
# Basic search (defaults to 5 retries with 5s delay on HTTP errors)
crt.sh google
# Configure custom retries and delay
crt.sh -r 10 -d 3 example.com
# Configure via environment variables
MAX_RETRIES=10 RETRY_DELAY=3 crt.sh example.com
-r, --retries <num>: Number of retries on HTTP error (default:5, env:MAX_RETRIES)-d, --delay <sec>: Delay in seconds between retries (default:5, env:RETRY_DELAY)-t, --timeout <sec>: Request timeout in seconds (default:30, env:CURL_TIMEOUT)-h, --help: Show help and usage message
Note: this script has been an improved version of https://github.com/tdubs/crt.sh