Adds getpaths script
This commit is contained in:
부모
c5a999d36b
커밋
b4bdba9e24
1개의 변경된 파일과 11개의 추가작업 그리고 0개의 파일을 삭제
11
bin/.bin/webtest/getpaths
Executable file
11
bin/.bin/webtest/getpaths
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
html="$(curl $1 2> /dev/null )"
|
||||
|
||||
{
|
||||
echo "$html" | hq \* attr src
|
||||
echo "$html" | hq \* attr href
|
||||
echo "$html" | hq \* attr target
|
||||
echo "$html" | hq \* attr style | sed 's/;/\n;/' | grep url
|
||||
echo "$html" | hq \* data style | sed 's/;/\n;/' | grep url
|
||||
} | sort | uniq
|
불러오는 중…
테이블 추가
Add a link
Reference in a new issue