-
- 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()List<ParseFilter>getChildren()final IntegergetId()BooleangetIsLeaf()BooleangetIsRoot()ParseFiltergetParent()UnitsetParent(ParseFilter parent)IntegergetParentId()final TextDocumentextract(WebPage page, String encoding)Extract the page into fields -
Methods inherited from class ai.platon.pulsar.parse.html.filters.BoilerpipeExtractor
addFirst, addLast, close, filter, initialize, isRelevant, onAfterFilter, onBeforeFilter -
Methods inherited from class ai.platon.pulsar.crawl.parse.ParseFilter
getParams -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getConf
final ImmutableConfig getConf()
-
getChildren
List<ParseFilter> getChildren()
-
getParent
ParseFilter getParent()
-
getParentId
Integer getParentId()
-
-
-
-