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-0.14.15 examples/fetchtest/parsers/simple.rb
datahen-0.14.12 examples/fetchtest/parsers/simple.rb
datahen-0.14.11 examples/fetchtest/parsers/simple.rb
datahen-0.14.10 examples/fetchtest/parsers/simple.rb
datahen-0.14.9 examples/fetchtest/parsers/simple.rb
datahen-0.14.5 examples/fetchtest/parsers/simple.rb
datahen-0.14.4 examples/fetchtest/parsers/simple.rb
datahen-0.14.3 examples/fetchtest/parsers/simple.rb
datahen-0.14.2 examples/fetchtest/parsers/simple.rb
datahen-0.14.1 examples/fetchtest/parsers/simple.rb
datahen-0.14.0 examples/fetchtest/parsers/simple.rb
datahen-0.13.7 examples/fetchtest/parsers/simple.rb
datahen-0.13.0 examples/fetchtest/parsers/simple.rb
datahen-0.12.0 examples/fetchtest/parsers/simple.rb
datahen-0.11.2 examples/fetchtest/parsers/simple.rb
datahen-0.11.1 examples/fetchtest/parsers/simple.rb
datahen-0.11.0 examples/fetchtest/parsers/simple.rb
datahen-0.10.4 examples/fetchtest/parsers/simple.rb
answersengine-0.10.1 examples/fetchtest/parsers/simple.rb
answersengine-0.10.0 examples/fetchtest/parsers/simple.rb