kimuraframework
Nokogiri
kimuraframework | Nokogiri | |
---|---|---|
5 | 20 | |
1,001 | 6,111 | |
- | 0.3% | |
0.0 | 9.4 | |
9 months ago | 5 days ago | |
Ruby | C | |
MIT License | MIT 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.
kimuraframework
-
Tanakai 1.6.0 (web scraping gem) has been released with support to Ruby 3+
Tanakai intends to be a maintained fork of Kimurai, a modern web scraping framework written in Ruby which works out of box with Headless Chromium/Firefox, PhantomJS, or simple HTTP requests and allows to scrape and interact with JavaScript rendered websites.
-
Headless Browser for Web Scraping: Usage Features
Kimurai is a Web Scraping framework for Ruby with headless browser functionality. Supported browsers: Chromium and Firefox. Supported programming languages: Ruby.
-
Long life to Tanakai, a fork of Kimurai (a modern web scraping framework written in Ruby)
I find Kimurai quite useful, it's sad to see it without any support for more than 2 years though, that's why I've decided to fork it.
-
Web scraping with rails
I've worked with https://github.com/vifreefly/kimuraframework in the past which was delightful.
-
10 Best Open Source Web Scraping Tools
Here is how simple it is to work with infinite scroll web pages Link https://github.com/vifreefly/kimuraframework
Nokogiri
- Web Scraping in Python – The Complete Guide
-
Did you know Nokogiri now has opt-in HTML5 parsing?
release planning: v1.16.0 · Issue #2897 · sparklemotion/nokogiri
-
As a Go developer, I’m surprised Crystal isn’t more popular
What's holding me back from going all in with Crystal is I have a lot of pre-existing Ruby code, and porting Ruby code to Crystal can be tricky. For example, Crystal lacks an Enumerator class (aka generators) due to captured block semantics. I also wish the shards ecosystem was a little more mature; for example there's multiple HTML parsing libraries, but none have all of the features that Ruby's Nokogiri has. For new greenfield backend projects, I would totally use Crystal.
-
Two months into learning Ruby, it is the most beautiful language I ever learned
Welcome! Ruby isn't exactly "dying", but the hype/popularity is definitely fading. This is primarily because Ruby is no longer "new", most of Ruby's popularity came from Rails, and now Rails is no longer the "new hotness". However, Ruby still has lots of awesome features and lots of awesome other libraries and frameworks, such as the new fancy irb gem that uses reline, nokogiri, chunky_png, the async gems, Dragon Ruby, SciRuby, Ronin, and the new Hanami web framework.
- What should I be learning?
- Comparable maintained Kimurai alternative?
-
In "Your Name" (2016), Mitsuha and Tesshi are seen turning a tree into their makeshift café, which is why one of the trees in the town is later missing
great for hacking at xml
-
Ditch Your Version Manager
Mike has worked hard over the years to have Nokogiri come with its dependencies. It does come with libxml and all that is required.
From https://nokogiri.org
> These dependencies are met by default by Nokogiri's packaged versions of the libxml2 and libxslt source code, but a configuration option --use-system-libraries is provided to allow specification of alternative library locations.
Some authors work hard to have their tools do the right thing and consistently.
-
Web scraping with rails
If the page is rendered as html you can use Nokogiri. It has great support and is pretty easy to get started with too.
-
Nokogiri 1.12 supports HTML5 parsing (after assimilating Nokogumbo)
And even now, pulling in a Java-based HTML5 parser is still probably easier than re-implementing in FFI, which is why I created https://github.com/sparklemotion/nokogiri/issues/2227 and would love to have this the conversation there if possible.
What are some alternatives?
football_api - A Ruby interface to the https://www.api-football.com.
Oga - Oga is an XML/HTML parser written in Ruby.
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
Ox - Ruby Optimized XML Parser
apparition - Capybara driver for Chrome using CDP
HTML::Pipeline - HTML processing filters and utilities
puppeteer - Node.js API for Chrome
Oj - Optimized JSON
tanakai - Tanakai is a modern web scraping framework written in Ruby. A fork of Kimurai.
ROXML - ROXML is a module for binding Ruby classes to XML. It supports custom mapping and bidirectional marshalling between Ruby and XML using annotation-style class methods, via Nokogiri or LibXML.
ferrum - Headless Chrome Ruby API
HappyMapper - Object to XML mapping library, using Nokogiri (Fork from John Nunemaker's Happymapper)