searpl/urls.sh

4 lines
149 B
Bash
Raw Normal View History

2020-12-14 22:22:28 +00:00
wget --spider --force-html -r -l1 -H $@ 2>&1 \
2020-12-14 21:59:16 +00:00
| grep '^--' | awk '{ print $3 }' \
| grep -v '\.\(css\|js\|png\|gif\|jpg\|txt\|ico\|ttf\|svg\)$'