Skip to content

Commit 0f58689

Browse files
committed
Update largescope
1 parent a57fd2b commit 0f58689

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/largescope

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,10 +519,10 @@ ALLWILDCARDS(){
519519

520520
if grep -q "https://www.crunchbase.com" "${URLSDIR}/crunchbase.txt"; then
521521
# If the file contains Crunchbase URLs
522-
cat ${URLSDIR}/crunchbase.txt | grep -E "https://www.crunchbase.com/organization/|https://www.crunchbase.com/acquisition/" | sed 's/acquisition/organization/' | sed 's|.*/\(.*\)-acquires-\(.*\)--.*|https://www.crunchbase.com/organization/\2|' | sed 's|\(https://www.crunchbase.com/organization/[^/]*\).*|\1|' | unew -el -i -t -q ${SUBDOMAINDIR}/allwildcards.txt
522+
cat ${URLSDIR}/crunchbase.txt | grep -E "https://www.crunchbase.com/organization/|https://www.crunchbase.com/acquisition/" | sed 's/acquisition/organization/' | sed 's|.*/\(.*\)-acquires-\(.*\)--.*|https://www.crunchbase.com/organization/\2|' | sed 's|\(https://www.crunchbase.com/organization/[^/]*\).*|\1|' | httpx -duc -silent -nc -mc 200 | tr '[:upper:]' '[:lower:]' | sed 's/^\*\.//' | sed 's/^\*//' | sed 's/^\.//' | sed 's/^\www\.//' | sed 's/https\?:\/\///' | unew -el -i -t -q ${SUBDOMAINDIR}/allwildcards.txt
523523
else
524524
# If the file does NOT contain Crunchbase URLs
525-
cat ${URLSDIR}/crunchbase.txt | unew -el -i -t -q ${SUBDOMAINDIR}/allwildcards.txt
525+
cat ${URLSDIR}/crunchbase.txt | httpx -duc -silent -nc -mc 200 | tr '[:upper:]' '[:lower:]' | sed 's/^\*\.//' | sed 's/^\*//' | sed 's/^\.//' | sed 's/^\www\.//' | sed 's/https\?:\/\///' | unew -el -i -t -q ${SUBDOMAINDIR}/allwildcards.txt
526526
fi
527527

528528
STOP_SPINNER

0 commit comments

Comments
 (0)