parsel-cli VS parsel

Compare parsel-cli vs parsel and see what are their differences.

parsel-cli

cli for evaluating css and xpath selectors (by Granitosaurus)

parsel

Parsel lets you extract data from XML/HTML documents using XPath or CSS selectors (by scrapy)
Our great sponsors
  • Zigi - The context switching struggle is real
  • Sonar - Write Clean Python Code. Always.
  • Scout APM - Truly a developer’s best friend
  • InfluxDB - Build time-series-based applications quickly and at scale.
parsel-cli parsel
3 4
20 847
- 2.5%
4.5 8.4
3 months ago 11 days ago
Python Python
GNU General Public License v3.0 only BSD 3-clause "New" or "Revised" 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.

parsel-cli

Posts with mentions or reviews of parsel-cli. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-15.

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

What are some alternatives?

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

enaml-web - Build interactive websites with enaml

soupsieve - A modern CSS selector implementation for BeautifulSoup

CSS-Minifier - This CSS Minifier tries to reduce the length of code by renaming class names and id names.

colly - Elegant Scraper and Crawler Framework for Golang

pyquery - A jquery-like library for python

requests-cache - Transparent persistent cache for python requests