lib/maxwell.rb in maxwell-0.4.2 vs lib/maxwell.rb in maxwell-0.4.3
- old
+ new
@@ -18,10 +18,10 @@
scraper = self.new
html = Maxwell::Converter.call(url, @use_poltergeist)
scraper.parser html
- scraper.handler ({ id: id + 1 }).merge(scraper.result)
+ scraper.handler ({ url: url }).merge(scraper.result)
end
end
def attr_accessor(*attrs)
@attrs ||= []