You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
300 B
9 lines
300 B
import org.jsoup.nodes.Element;
|
|
import java.util.List;
|
|
|
|
public abstract class BaseMovieCrawler implements MovieCrawlerInterface {
|
|
public abstract List<Movie> crawl(int limit);
|
|
|
|
// 只保留带两个参数的抽象方法
|
|
protected abstract Movie parseMovie(Element element, String type);
|
|
}
|