Clean code

This commit is contained in:
FongMi 2023-10-28 12:03:05 +08:00
parent 6698eace27
commit 686e78b68f
3 changed files with 5 additions and 4 deletions

View File

@ -186,18 +186,19 @@ public class Xb6v extends Spider {
.replaceAll("&", "")
.replaceAll("middot;", "")
.replaceAll("     ", ",")
.replaceAll("      ", ",");
.replaceAll("      ", ",")
.replaceAll(" ", "");
}
private String getDescription(Pattern pattern, String str) {
return getStrByRegex(pattern, str)
.replaceAll("</?[^>]+>", "")
.replaceAll("\n", "")
.replaceAll("    ", "")
.replaceAll("&amp;", "")
.replaceAll("middot;", "")
.replaceAll("ldquo;", "")
.replaceAll("rdquo;", "");
.replaceAll("rdquo;", "")
.replaceAll(" ", "");
}
@Override

Binary file not shown.

View File

@ -1 +1 @@
a4a22ad4042d5ff3444ed4b66f41a3a4
aa238f375f2bb1161db6d60835f44692