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.20.0 examples/fetchtest/parsers/simple.rb
datahen-0.19.0 examples/fetchtest/parsers/simple.rb
datahen-0.18.0 examples/fetchtest/parsers/simple.rb
datahen-0.17.0 examples/fetchtest/parsers/simple.rb
datahen-0.16.2 examples/fetchtest/parsers/simple.rb
datahen-0.16.1 examples/fetchtest/parsers/simple.rb
datahen-0.16.0 examples/fetchtest/parsers/simple.rb
datahen-0.15.11 examples/fetchtest/parsers/simple.rb
datahen-0.15.10 examples/fetchtest/parsers/simple.rb
datahen-0.15.9 examples/fetchtest/parsers/simple.rb
datahen-0.14.26 examples/fetchtest/parsers/simple.rb
datahen-0.14.25 examples/fetchtest/parsers/simple.rb
datahen-0.14.24 examples/fetchtest/parsers/simple.rb
datahen-0.14.22 examples/fetchtest/parsers/simple.rb
datahen-0.14.21 examples/fetchtest/parsers/simple.rb
datahen-0.14.20 examples/fetchtest/parsers/simple.rb
datahen-0.14.19 examples/fetchtest/parsers/simple.rb
datahen-0.14.18 examples/fetchtest/parsers/simple.rb
datahen-0.14.17 examples/fetchtest/parsers/simple.rb
datahen-0.14.16 examples/fetchtest/parsers/simple.rb