Commit 19d067fc authored by yihua.huang's avatar yihua.huang

docs

parent 9832e38c
...@@ -22,8 +22,8 @@ Release Notes ...@@ -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();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment