parent
7ee525e183
commit
da866c5dcc
@ -0,0 +1,22 @@
|
|||||||
|
package com.tamguo.model.vo;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.xuxueli.crawler.annotation.PageFieldSelect;
|
||||||
|
import com.xuxueli.crawler.annotation.PageSelect;
|
||||||
|
|
||||||
|
@PageSelect(cssQuery = "body")
|
||||||
|
public class CourseVo {
|
||||||
|
|
||||||
|
@PageFieldSelect(cssQuery = ".course-item")
|
||||||
|
private List<String> name;
|
||||||
|
|
||||||
|
public List<String> getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(List<String> name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -1,10 +0,0 @@
|
|||||||
package com.tamguo.service;
|
|
||||||
|
|
||||||
public interface ICourseService {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 爬取科目数据
|
|
||||||
*/
|
|
||||||
void crawlerCourse();
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in new issue