public class PhantomJSPageProcessor extends Object implements PageProcessor
以淘宝为例, 搜索冬装的相关结果
| Constructor and Description |
|---|
PhantomJSPageProcessor() |
| Modifier and Type | Method and Description |
|---|---|
Site |
getSite()
get the site settings
|
static void |
main(String[] args) |
void |
process(Page page)
process the page, extract urls to fetch, extract the data and store
|
public void process(Page page)
PageProcessorprocess in interface PageProcessorpage - pagepublic Site getSite()
PageProcessorgetSite in interface PageProcessorSiteCopyright © 2017. All rights reserved.