use of us.codecraft.webmagic.scheduler.PriorityScheduler in project webmagic by code4craft.
the class ZipCodePageProcessor method main.
public static void main(String[] args) {
Spider spider = Spider.create(new ZipCodePageProcessor()).scheduler(new PriorityScheduler()).addUrl("http://www.ip138.com/post/");
spider.run();
}
Aggregations