lib/boilerpipe/extractors/default_extractor.rb in boilerpipe-ruby-0.4.0 vs lib/boilerpipe/extractors/default_extractor.rb in boilerpipe-ruby-0.4.1
- old
+ new
@@ -1,7 +1,6 @@
module Boilerpipe::Extractors
class DefaultExtractor
-
def self.text(contents)
doc = ::Boilerpipe::SAX::BoilerpipeHTMLParser.parse(contents)
::Boilerpipe::Extractors::DefaultExtractor.process doc
doc.content
end