notes/scripts/seo
2022-09-04 00:59:11 -07:00

6 lines
180 B
Bash
Executable file

#!/bin/sh
# grabs the url before the .com or .org, etc
url=$(echo "${1}" | sed 's/\..*$//')
seoanalyze https://"${1}" --output-format html > "${url}".html && links "${url}".html