diff options
Diffstat (limited to 'crawler/sanitize.go')
| -rw-r--r-- | crawler/sanitize.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawler/sanitize.go b/crawler/sanitize.go index 25e8a09..8eb9444 100644 --- a/crawler/sanitize.go +++ b/crawler/sanitize.go @@ -66,7 +66,7 @@ func sanitize_offer(angebote []Angebot, shop Shop, try int) []Angebot { offer.Website = "" if offer.Age == 0 { - offer.Debug("GREP") + //offer.Trace("GREP") } W = append(W, offer) @@ -272,7 +272,7 @@ func get_age_from_name(name string) int { } age_noisy := r_years.FindString(name) if age_noisy == "" { - log.Debug("get_age_from_name: No Age found in (" + name + ")") + log.Trace("get_age_from_name: No Age found in (" + name + ")") return 0 } @@ -292,7 +292,7 @@ func get_age_from_name(name string) int { func sanitize_image_url(url string) error { - log.Debugf("sanitize_image_url: Making HEAD request to %s \n", url) + log.Tracef("sanitize_image_url: Making HEAD request to %s \n", url) resp, err := http.Head(url) if err != nil { return fmt.Errorf("sanitize_image_url: HEAD request failed. Got error: %s \n", err.Error()) |
