1 package us.codecraft.webmagic.handler; 2 3 import us.codecraft.webmagic.ResultItems; 4 import us.codecraft.webmagic.Task; 5 6 /** 7 * @author code4crafer@gmail.com 8 * @since 0.5.0 9 */ 10 public interface SubPipeline extends RequestMatcher { 11 12 /** 13 * process the page, extract urls to fetch, extract the data and store 14 * 15 * @param resultItems resultItems 16 * @param task task 17 * @return whether continue to match 18 */ 19 public MatchOther processResult(ResultItems resultItems, Task task); 20 21 }