Class BoilerpipeExtractor
-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.config.Parameterized,ai.platon.pulsar.crawl.parse.ParseFilter,java.lang.AutoCloseable
public final class BoilerpipeExtractor extends AbstractParseFilterParse html document into fields
-
-
Constructor Summary
Constructors Constructor Description BoilerpipeExtractor(ImmutableConfig conf)
-
Method Summary
Modifier and Type Method Description final ImmutableConfiggetConf()final TextDocumentextract(WebPage page, String encoding)Extract the page into fields -
Methods inherited from class ai.platon.pulsar.crawl.parse.AbstractParseFilter
addFirst, addLast, close, filter, getChildren, getId, getParent, initialize, isRelevant, onAfterFilter, onBeforeFilter, setParent -
Methods inherited from class ai.platon.pulsar.crawl.parse.ParseFilter
getParentId, isLeaf, isRoot -
Methods inherited from class ai.platon.pulsar.common.config.Parameterized
getParams -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-