Class: Sc::BaseUriSelector
- Defined in:
- lib/scrappy/extractor/selectors/base_uri.rb
Instance Method Summary collapse
Methods inherited from Selector
Methods included from Scrappy::Formats
Instance Method Details
#filter(doc) ⇒ Object
3 4 5 |
# File 'lib/scrappy/extractor/selectors/base_uri.rb', line 3 def filter doc [ { :uri=>doc[:uri], :content=>doc[:content], :value=>doc[:uri] } ] end |