enhance crawl print

This commit is contained in:
M09Ic committed 2024-03-06 18:26:59 +08:00
1 parent 6ce0f556fd
commit 35b76f4f54
1 file changed
+1 -1
+1 -1
View File
@@ -188,7 +188,7 @@ func (bl *Baseline) CollectURL() {
}
bl.URLs = iutils.StringsUnique(bl.URLs)
if bl.URLs != nil {
if len(bl.URLs) != 0 {
bl.Extracteds = append(bl.Extracteds, &parsers.Extracted{
Name: "crawl",
ExtractResult: bl.URLs,