修复由于HDU加了SSL导致提交失败
This commit is contained in:
parent
6b0cc53973
commit
594147ab2a
|
@ -15,7 +15,7 @@ import top.hcode.hoj.utils.JsoupUtils;
|
|||
*/
|
||||
public class HDUProblemStrategy extends ProblemStrategy {
|
||||
public static final String JUDGE_NAME = "HDU";
|
||||
public static final String HOST = "http://acm.hdu.edu.cn";
|
||||
public static final String HOST = "https://acm.hdu.edu.cn";
|
||||
public static final String PROBLEM_URL = "/showproblem.php?pid=%s";
|
||||
|
||||
/**
|
||||
|
|
|
@ -18,7 +18,7 @@ import java.util.regex.Pattern;
|
|||
|
||||
@Slf4j(topic = "hoj")
|
||||
public class HduJudge implements RemoteJudgeStrategy {
|
||||
public static final String HOST = "http://acm.hdu.edu.cn";
|
||||
public static final String HOST = "https://acm.hdu.edu.cn";
|
||||
public static final String LOGIN_URL = "/userloginex.php?action=login";
|
||||
public static final String SUBMIT_URL = "/submit.php?action=submit";
|
||||
public static final String STATUS_URL = "/status.php?user=%s&pid=%s";
|
||||
|
|
Loading…
Reference in New Issue