1 changed files with 0 additions and 11 deletions
@ -1,11 +0,0 @@ |
|||||
package com.example.datacollect.strategy; |
|
||||
|
|
||||
import com.example.datacollect.exception.ParseException; |
|
||||
import com.example.datacollect.model.Article; |
|
||||
import org.jsoup.nodes.Document; |
|
||||
import java.util.List; |
|
||||
|
|
||||
public interface CrawlStrategy { |
|
||||
List<Article> parse(String url, Document doc) throws ParseException; |
|
||||
boolean supports(String url); |
|
||||
} |
|
||||
Loading…
Reference in new issue