osg
osg copied to clipboard
timestamps not working
hey, i crawl a site, and in the resulting xml file, all the lastmod times are like this:
any idea, why this could happen?
my idea was that the crawl function maybe fails to extract the data from the http headers.. lm, err := time.Parse(http.TimeFormat, res.Header.Get("Last-Modified")) if err != nil { log.Println("Couldn't parse Last-Modified time in header", err) } so i inserted this error checking, but it didnt fire.
any pointers how to debug/fix this greatly appreciated.