Registry / utility / nibbler

nibbler

JSON →
library1.3.0rbrubygemsunverified

Nibbler is a super simple and powerful declarative generic scraper written in under 70 lines of code.

gem install nibbler
INSTALL
IMPORT
SIG · NIBBLER
N
nibbler
utilityrubyv1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Nibbler
require 'nibbler'

Define a scraper class and parse HTML.

require 'nibbler' class MyScraper < Nibbler element :title, 'h1' end scraper = MyScraper.new result = scraper.parse('<html><h1>Hello</h1></html>') result.title # => "Hello"
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
nibbler — gem install nibbler · libregistry