Skip to content

Commit 460ad31

Browse files
modify README.md
1 parent e76665d commit 460ad31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/cn/edu/hfut/dmic/webcollector/example/DemoNextFilter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public CrawlDatum filter(CrawlDatum nextItem, CrawlDatum referer) {
7777
nextItem.type("content");
7878
return nextItem;
7979
} else {
80+
// return null if you want to filter the CrawlDatum
8081
return null;
8182
}
8283
}

0 commit comments

Comments
 (0)