soupsieve
parsel
Our great sponsors
soupsieve | parsel | |
---|---|---|
2 | 5 | |
187 | 1,074 | |
- | 1.8% | |
5.5 | 6.4 | |
8 months ago | 16 days ago | |
Python | Python | |
MIT License | BSD 3-clause "New" or "Revised" License |
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.
soupsieve
parsel
-
What web scraping tools do ya'll use?
An alternative for beautifulsoup is https://github.com/scrapy/parsel also from the scrapy team.
-
13 ways to scrape any public data from any website
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)
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.
- Looking for a nicer html parser to use with python other than BeautifulSoup4
- How to Crawl the Web with Scrapy
What are some alternatives?
TkinterWeb - Python bindings for Tkhtml.
parsel-cli - cli for evaluating css and xpath selectors
statum - 🗺️ statum, a Twitch streamer-related website. Written in Python + Flask, with MongoDB. Current features include Twitch OAuth integration, personalized dashboard, unique streamer insights & much more.
insomnia - The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
webcolors - A library for working with HTML/CSS color formats in Python.
CSS-Minifier - This CSS Minifier tries to reduce the length of code by renaming class names and id names.
author-tools - Author Tools
FnF-Spritesheet-and-XML-Maker - A Friday Night Funkin' mod making helper tool that allows you to generate XML files and spritesheets from induvidual pngs
got-scraping - HTTP client made for scraping based on got.
colly - Elegant Scraper and Crawler Framework for Golang
lxml - The lxml XML toolkit for Python
Pandas - Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more