colly
Elegant Scraper and Crawler Framework for Golang (by gocolly)
xpath
XPath package for Go, supports HTML, XML, JSON document query and more (by antchfx)
colly | xpath | |
---|---|---|
41 | 1 | |
24,156 | 715 | |
0.9% | 1.7% | |
6.7 | 5.9 | |
23 days ago | 28 days ago | |
Go | Go | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
colly
Posts with mentions or reviews of colly.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-01-10.
-
Golang with Colly: Use Random Fake User-Agents When Scraping
https://github.com/lib4u/fake-useragent https://github.com/gocolly/colly
-
Intermediate Go Projects
Colly GitHub Repository
-
Scraping the full snippet from Google search result
SerpApi focuses on scraping search results. That's why we need extra help to scrape individual sites. We'll use GoColly package.
-
Show HN: Flyscrape – A standalone and scriptable web scraper in Go
Interesting. Can you compare it to colly? [0]
Last time I looked it was the most popular choice for scraping in Go and I have some projects using it.
Is it similar? Does it have more/less features or is it more suited for a different use case? (Which one?)
[0] https://github.com/gocolly/colly
- Colly: Elegant Scraper and Crawler Framework for Golang
-
New modern web crawling tool
Sounds cool, but how is this different from Colly: https://github.com/gocolly/colly?
-
colly VS scrapemate - a user suggested alternative
2 projects | 15 Apr 2023
-
Web Scraping in Python: Avoid Detection Like a Ninja
We could write some snippets mixing all these, but the best option in real life is to use a tool with it all, like Scrapy, pyspider, node-crawler (Node.js), or Colly (Go).
- Web scraping with Go
-
Web scraper help
Unless you're specifically trying to do it using net/http, I recommend using colly. I've used it in a few scrappers and I love it!
xpath
Posts with mentions or reviews of xpath.
We have used some of these posts to build our list of alternatives
and similar projects.
-
I have this code On Playground.. It is very simplified... but when reading from file it breaks and cannot handle rune characters.... The strings.Replace function just stops working
It looks like you're trying to parse HTML by using the strings package. For reference, you might be better off using an xpath tool or the html package that has built-in tokenizers to do your tokenizing. That makes it easier to find the nodes you're looking for and the values contained within those nodes.
What are some alternatives?
When comparing colly and xpath you can also consider the following projects:
GoQuery - A little like that j-thing, only in Go.
Geziyor - Geziyor, blazing fast web crawling & scraping framework for Go. Supports JS rendering.
jsonpath - JSONPath with dot notation generator for golang
Ferret - Declarative web scraping
jsoncolor - Colorized JSON output for Go https://godoc.org/github.com/nwidger/jsoncolor