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,