Sha256: e5d3aafa985ce5a109e8354eb0808d282a8e29187afae4eeaafafec93f650cf7

Contents?: true

Size: 332 Bytes

Versions: 73

Compression:

Stored size: 332 Bytes

Contents

nokogiri = Nokogiri.HTML(content)

outputs << {
    _collection: "home",
    _id: "1234",
    text: nokogiri.text,
    heading: nokogiri.at('h1').text,
    response_headers: page['response_headers'],
}

pages << {
  url: "http://fetchtest.datahen.com/statuses/200?q=queuedFromParser",
  vars: {"abc":[1,2,3], "def": "defcontent"}
}

Version data entries

73 entries across 73 versions & 2 rubygems

Version Path
datahen-1.6.3 examples/fetchtest/parsers/simple.rb
datahen-1.6.2 examples/fetchtest/parsers/simple.rb
datahen-1.6.1 examples/fetchtest/parsers/simple.rb
datahen-1.6.0 examples/fetchtest/parsers/simple.rb
datahen-1.5.3 examples/fetchtest/parsers/simple.rb
datahen-1.5.2 examples/fetchtest/parsers/simple.rb
datahen-1.5.1 examples/fetchtest/parsers/simple.rb
datahen-1.4.0 examples/fetchtest/parsers/simple.rb
datahen-1.3.2 examples/fetchtest/parsers/simple.rb
datahen-1.3.1 examples/fetchtest/parsers/simple.rb
datahen-1.3.0 examples/fetchtest/parsers/simple.rb
datahen-1.2.3 examples/fetchtest/parsers/simple.rb
datahen-1.2.2 examples/fetchtest/parsers/simple.rb
datahen-1.2.1 examples/fetchtest/parsers/simple.rb
datahen-1.1.2 examples/fetchtest/parsers/simple.rb
datahen-1.1.1 examples/fetchtest/parsers/simple.rb
datahen-1.0.3 examples/fetchtest/parsers/simple.rb
datahen-1.0.2 examples/fetchtest/parsers/simple.rb
datahen-1.0.1 examples/fetchtest/parsers/simple.rb
datahen-1.0.0 examples/fetchtest/parsers/simple.rb