Clean code
This commit is contained in:
parent
6698eace27
commit
686e78b68f
|
|
@ -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("&", "")
|
||||
.replaceAll("middot;", "・")
|
||||
.replaceAll("ldquo;", "【")
|
||||
.replaceAll("rdquo;", "】");
|
||||
.replaceAll("rdquo;", "】")
|
||||
.replaceAll(" ", "");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
a4a22ad4042d5ff3444ed4b66f41a3a4
|
||||
aa238f375f2bb1161db6d60835f44692
|
||||
|
|
|
|||
Loading…
Reference in New Issue