From 065efcf3174dba104d49b615413daf28a8f663ab Mon Sep 17 00:00:00 2001 From: Himit_ZH <372347736@qq.com> Date: Thu, 5 Aug 2021 22:36:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9POJ=E5=92=8CHDU=E9=A2=98?= =?UTF-8?q?=E7=9B=AE=E5=9B=BE=E7=89=87=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/top/hcode/hoj/crawler/problem/HDUProblemStrategy.java | 2 +- .../java/top/hcode/hoj/crawler/problem/POJProblemStrategy.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hoj-springboot/DataBackup/src/main/java/top/hcode/hoj/crawler/problem/HDUProblemStrategy.java b/hoj-springboot/DataBackup/src/main/java/top/hcode/hoj/crawler/problem/HDUProblemStrategy.java index 907557d0..709828a1 100644 --- a/hoj-springboot/DataBackup/src/main/java/top/hcode/hoj/crawler/problem/HDUProblemStrategy.java +++ b/hoj-springboot/DataBackup/src/main/java/top/hcode/hoj/crawler/problem/HDUProblemStrategy.java @@ -38,7 +38,7 @@ public class HDUProblemStrategy extends ProblemStrategy { info.setTimeLimit(Integer.parseInt(ReUtil.get("(\\d*) MS", html, 1))); info.setMemoryLimit(Integer.parseInt(ReUtil.get("/(\\d*) K", html, 1)) / 1024); info.setDescription(ReUtil.get(">Problem Description
Description
", html, 1) - .replaceAll("src=\"", "src=\"" + HOST + "/")); + .replaceAll("src=\"[../]*", "src=\"" + HOST + "/")); info.setInput(ReUtil.get("
Input
", html, 1)); info.setOutput(ReUtil.get("
Output
", html, 1));