Package | Description |
---|---|
com.yishuifengxiao.common.crawler | |
com.yishuifengxiao.common.crawler.extractor.content |
Modifier and Type | Method and Description |
---|---|
List<ExtractFieldRule> |
CrawlerBuilder.fieldExtractRule(String key)
根据内容提取规则的编码获取该内容提取规则的提取规则
|
Modifier and Type | Method and Description |
---|---|
CrawlerBuilder |
CrawlerBuilder.addExtractRule(String key,
ExtractFieldRule fieldExtractRule)
根据内容提取规则的编码增加该内容提取规则的提取规则
|
Modifier and Type | Method and Description |
---|---|
CrawlerBuilder |
CrawlerBuilder.addFieldExtractRules(String key,
List<ExtractFieldRule> list)
根据内容提取规则的编码增加该内容提取规则的提取规则
|
CrawlerBuilder |
CrawlerBuilder.setExtractRules(String key,
List<ExtractFieldRule> list)
根据内容提取规则的编码设置该内容提取规则的提取规则
|
Modifier and Type | Method and Description |
---|---|
Object |
SimpleContentExtractor.extract(Page page,
List<ExtractFieldRule> fieldExtractRules)
提取数据
|
protected abstract Object |
AbstractContentExtractor.extract(Page page,
List<ExtractFieldRule> fieldExtractRules)
根据提取规则对输入数据进行提取
|
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.