putputting percent every line is too much.

This commit is contained in:
Hyatt 2022-03-21 19:10:20 -05:00
parent 614769045f
commit 86d8b09b34
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -50,8 +50,8 @@ func cleanBadDomains(domains []string) []string {
}
list = []string{}
for k, v := range domains {
log.Printf("[DEBUG] Processing %d of %d (%0.2f%%)\n", k+1, len(domains), float64((k+1)/len(domains)))
for _, v := range domains {
//log.Printf("[DEBUG] Processing %d of %d (%0.2f%%)\n", k+1, len(domains), float64((k+1)/len(domains)))
for _, allowedItem := range goodAllowedItemList {
if regexp.MustCompile(allowedItem).MatchString(v) {
log.Printf("[DEBUG] Removing allowed matching item: %s\n", v)