Skip to content

Instantly share code, notes, and snippets.

@mottet-dev

mottet-dev/main.go

Created Jun 11, 2019
Embed
What would you like to do?
Handle Pagination - Go Colly Advanced
for i := 1; i <= 20; i++ {
fullURL := fmt.Sprintf("https://www.amazon.com/s?k=nintendo+switch&page=%d", i)
c.Visit(fullURL)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.