Commit 29c6a03f authored by yihua.huang's avatar yihua.huang

fix

parent 516ff331
...@@ -14,7 +14,7 @@ import us.codecraft.webmagic.annotation.TargetUrl; ...@@ -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;
......
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