master
yihua.huang 2013-08-02 08:22:28 +08:00
parent 516ff3310d
commit 29c6a03f60
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import us.codecraft.webmagic.annotation.TargetUrl;
public class IteyeBlog implements Blog{ public class IteyeBlog implements Blog{
@ExtractBy("//title") @ExtractBy("//title")
private int title; private String title;
@ExtractBy(value = "div#blog_content",type = ExtractBy.Type.Css) @ExtractBy(value = "div#blog_content",type = ExtractBy.Type.Css)
private String content; private String content;