6 lines
180 B
Bash
Executable file
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
|