Fulltextextract boilerpipe

Hi,
I am using boilerpipe gem to extract plaintext from a web page, to do so
I have to give an url :
Boilerpipe.extract(url, {:output => :json ,:extractor =>
:ArticleExtractor})

Is there a way to use the source code of the page directly without the
url and requesting the server:
Boilerpipe.extract(pagesource, {:output => :json ,:extractor =>
:ArticleExtractor})

best regards,

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs