skip test
parent
d26cd82d59
commit
d4de60a562
|
@ -0,0 +1,5 @@
|
|||
<html>
|
||||
<body>
|
||||
webmagic对抓取器编写的面向对象方式的封装。基于POJO(称为PageModel)及注解即可实现一个PageProcessor。
|
||||
</body>
|
||||
</html>
|
|
@ -1,5 +1,6 @@
|
|||
package us.codecraft.webmagic.oo;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import us.codecraft.webmagic.Site;
|
||||
|
||||
|
@ -10,7 +11,7 @@ import us.codecraft.webmagic.Site;
|
|||
*/
|
||||
public class TestFetcher {
|
||||
|
||||
// @Ignore("takes long")
|
||||
@Ignore("takes long")
|
||||
@Test
|
||||
public void test() {
|
||||
OOSpider.create(Site.me().addStartUrl("http://my.oschina.net/flashsword/blog/145796"), OschinaBlog.class)
|
||||
|
|
Loading…
Reference in New Issue