parsel VS colly

Compare parsel vs colly and see what are their differences.

parsel

Parsel lets you extract data from XML/HTML documents using XPath or CSS selectors (by scrapy)

colly

Elegant Scraper and Crawler Framework for Golang (by gocolly)
Our great sponsors
  • Sonar - Write Clean Python Code. Always.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SaaSHub - Software Alternatives and Reviews
parsel colly
4 29
874 18,786
1.9% 1.4%
8.4 4.5
9 days ago 20 days ago
Python Go
BSD 3-clause "New" or "Revised" License Apache License 2.0
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.

parsel

Posts with mentions or reviews of parsel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-07.
  • 13 ways to scrape any public data from any website
    6 projects | dev.to | 7 Oct 2022
    variable.css(".X5PpBb::text").get() # returns a text value variable.css(".gs_a").xpath("normalize-space()").get() # https://github.com/scrapy/parsel/issues/192#issuecomment-1042301716 variable.css(".gSGphe img::attr(srcset)").get() # returns a attribute value variable.css(".I9Jtec::text").getall() # returns a list of strings values variable.xpath('th/text()').get() # returns text value using xpath
  • Web Scraping With Python (An Ultimate Guide)
    3 projects | reddit.com/r/Python | 15 Sep 2022
    Something I don't see discussed when this topic is brought up is that Scrapy's HTML parsing library, parsel, can be installed separately from scrapy itself. You can use it in place of beautifulsoup and, imo, it's much easier to use.
  • How to Crawl the Web with Scrapy
    7 projects | news.ycombinator.com | 13 Sep 2021

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 2023-02-04.

What are some alternatives?

When comparing parsel and colly you can also consider the following projects:

GoQuery - A little like that j-thing, only in Go.

Scrapy - Scrapy, a fast high-level web crawling & scraping framework for Python.

xpath - XPath package for Golang, supports HTML, XML, JSON document query.

rod - A Devtools driver for web automation and scraping

Ferret - Declarative web scraping

Geziyor - Geziyor, blazing fast web crawling & scraping framework for Go. Supports JS rendering.

Pholcus - Pholcus is a distributed high-concurrency crawler software written in pure golang

google-search-results-golang - Google Search Results GoLang API

Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

Dataflow kit - Extract structured data from web sites. Web sites scraping.

jsonrpconion - Library for building JSON RPC services on Tor network

gichidan - Gichidan - CLI wrapper for Ichidan deep-web search engine.