remove some log output
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"regexp"
|
||||
"sort"
|
||||
|
||||
@ -29,15 +28,12 @@ func cleanBadDomains(domains []string) []string {
|
||||
// remove duplicates
|
||||
domains = removeDuplicateStr(domains)
|
||||
|
||||
fmt.Printf("Processing: \n")
|
||||
|
||||
for _, domain := range domains {
|
||||
// removing trailing dots
|
||||
domain = regexp.MustCompile(`\.$`).ReplaceAllString(domain, "")
|
||||
|
||||
// skip domains that are too long
|
||||
if len([]rune(domain)) > 230 {
|
||||
fmt.Printf("-")
|
||||
continue
|
||||
}
|
||||
|
||||
@ -50,7 +46,6 @@ func cleanBadDomains(domains []string) []string {
|
||||
}
|
||||
}
|
||||
if skip {
|
||||
fmt.Printf(".")
|
||||
continue
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user