Skip to content

Commit

Permalink
mv: urls at end of csv
Browse files Browse the repository at this point in the history
  • Loading branch information
loisglld committed Feb 4, 2024
1 parent 5dd236a commit e19bf93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ const (
)

type NasaImage struct {
url string
title string
description string
url string
}

var userAgents = []string{
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit e19bf93

Please sign in to comment.