diff --git a/.DS_Store b/.DS_Store index f06d280..8eca6e0 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/main.go b/main.go index 8428a2d..1e3a266 100644 --- a/main.go +++ b/main.go @@ -22,9 +22,9 @@ const ( ) type NasaImage struct { - url string title string description string + url string } var userAgents = []string{ @@ -175,7 +175,7 @@ func main() { nasaImage.description = e.ChildText("p") }) c.Visit(nasaImage.url) - err = csvWriter.Write([]string{nasaImage.url, nasaImage.title, nasaImage.description}) + err = csvWriter.Write([]string{nasaImage.title, nasaImage.description, nasaImage.url}) }(imgUrl) } wg.Wait()