enhance crawl print

This commit is contained in:
M09Ic 2024-03-06 18:26:59 +08:00
parent ab830a5e98
commit 16f149dadf

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,