|
|
@ -22,8 +22,8 @@ Release Notes
|
|
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
OOSpider.create(Site.me().addStartUrl("http://my.oschina.net/flashsword/blog"),
|
|
|
|
OOSpider.create(Site.me().addStartUrl("http://my.oschina.net/flashsword/blog"),
|
|
|
|
new ConsolePageModelPipeline(), OschinaBlog.class).
|
|
|
|
new ConsolePageModelPipeline(), OschinaBlog.class)
|
|
|
|
scheduler(new RedisScheduler("127.0.0.1")).thread(5).run();
|
|
|
|
.scheduler(new RedisScheduler("127.0.0.1")).thread(5).run();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|