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
([\\s\\S]*?)
", html, 1)
- .replaceAll("src=\"", "src=\"" + HOST));
+ .replaceAll("src=\"[../]*", "src=\"" + HOST + "/"));
info.setInput(ReUtil.get(">Input ([\\s\\S]*?)
", html, 1));
info.setOutput(ReUtil.get(">Output ([\\s\\S]*?)
", html, 1));
StringBuilder sb = new StringBuilder("");
diff --git a/hoj-springboot/DataBackup/src/main/java/top/hcode/hoj/crawler/problem/POJProblemStrategy.java b/hoj-springboot/DataBackup/src/main/java/top/hcode/hoj/crawler/problem/POJProblemStrategy.java
index 0b1e9c43..3d176f8e 100644
--- a/hoj-springboot/DataBackup/src/main/java/top/hcode/hoj/crawler/problem/POJProblemStrategy.java
+++ b/hoj-springboot/DataBackup/src/main/java/top/hcode/hoj/crawler/problem/POJProblemStrategy.java
@@ -34,7 +34,7 @@ public class POJProblemStrategy extends ProblemStrategy {
info.setTimeLimit(Integer.parseInt(ReUtil.get("Time Limit: (\\d{3,})MS", html, 1)));
info.setMemoryLimit(Integer.parseInt(ReUtil.get("Memory Limit: (\\d{2,})K", html, 1)) / 1024);
info.setDescription(ReUtil.get("Description
([\\s\\S]*?)
", html, 1)
- .replaceAll("src=\"", "src=\"" + HOST + "/"));
+ .replaceAll("src=\"[../]*", "src=\"" + HOST + "/"));
info.setInput(ReUtil.get("
Input
([\\s\\S]*?)
", html, 1));
info.setOutput(ReUtil.get("
Output
([\\s\\S]*?)
", html, 1));