Class Scrubyt::Extractor
In: lib/scrubyt/core/shared/extractor.rb
Parent: Object

Driving the whole extraction process

Extractor is a performer class - it gets an extractor definition and carries out the actions and evaluates the wrappers sequentially.

Originally also the navigation actions were here, but since the class got too big, they were factored out to an own class, NavigationAction.

Methods

Public Class methods

The definition of the extractor is passed through this method

Evaluate a subexttractor (i.e. an extractor on a detail page). The url passed to this function is automatically loaded. The definition of the subextractor is passed as a block

!!!! THIS CODE IS A MESS, IT needs to be refactored ASAP.…

[Validate]