File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -9,35 +9,28 @@ public interface Downloader {
99 */
1010 public void setTread (Thread thread );
1111
12- /**
13- * according to the url given, download aimed file(url or code) and add to list
14- * @param url
15- * @param list
16- */
17- public void download (String url );
18-
1912 /**
2013 * 爬取题目列表
2114 * @param url
2215 * @return
2316 */
24- public List <String > problemListDownloader ();
17+ public List <String > problemListDownloader (String pattern );
2518
2619 /**
2720 * 进入题目描述页面,爬取题目提交url列表
2821 * @param url
2922 */
30- public List <String > problemDescriptionDownloader (String url );
23+ public List <String > problemDescriptionDownloader (String url , String pattern );
3124
3225 /**
3326 * 进入题目提交列表页面,爬取code所在页面url
3427 * @param url
3528 */
36- public List <String > submissionListDownloader (String url , String name );
29+ public List <String > submissionListDownloader (String url , String pattern );
3730
3831 /**
3932 * 进入code所在页面,爬取code
4033 * @param url
4134 */
42- public List <String > codePageDownloader (String url );
35+ public List <String > codePageDownloader (String url , String pattern );
4336}
You can’t perform that action at this time.
0 commit comments