Fix results output on stdout

This commit is contained in:
edoardottt
2021-10-30 17:14:37 +02:00
parent 9968e6e587
commit 0f3329ed52
+1 -3
View File
@@ -226,9 +226,7 @@ func Crawler(target string, txt string, html string, delayTime int, concurrency
c.OnResponse(func(r *colly.Response) {
if utils.SameDomain(protocolTemp+"://"+target, r.Request.URL.String()) {
fmt.Println(r.Request.URL.String())
}
fmt.Println(r.Request.URL.String())
lengthOk := len(string(r.Body)) > 10