diff options
| author | Max | 2018-06-15 19:37:33 +0200 |
|---|---|---|
| committer | Max | 2018-06-15 19:37:33 +0200 |
| commit | b3b35a1706cd99e0978147a4d1b841381cf48348 (patch) | |
| tree | a5534783bb6d35750b929a5d77e0c27316f2985a | |
| parent | f37ebbb81785fb2c02f166b84581b9e92c829b2a (diff) | |
| download | alkobote-b3b35a1706cd99e0978147a4d1b841381cf48348.tar.gz | |
Improves debugging output. (crawler)
| -rw-r--r-- | crawler/sanitize.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawler/sanitize.go b/crawler/sanitize.go index 6370588..960d5f6 100644 --- a/crawler/sanitize.go +++ b/crawler/sanitize.go @@ -265,6 +265,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) resp, err := http.Head(url) if err != nil { return fmt.Errorf("sanitize_image_url: HEAD request failed. Got error: %s \n", err.Error()) |
