|
@@ -71,6 +71,9 @@ public class BeiLunHtmlAnalysisUtil {
|
|
|
}
|
|
|
List<Element> tdElements = Lists.newArrayList();
|
|
|
tableElement.selectFirst("tbody").children().forEach(trElement -> {
|
|
|
+ if (trElement.childNodeSize() != 2) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
trElement.children().forEach(tdElement -> {
|
|
|
tdElements.add(tdElement);
|
|
|
});
|
|
@@ -140,7 +143,7 @@ public class BeiLunHtmlAnalysisUtil {
|
|
|
}
|
|
|
for (Element childElement : elements) {
|
|
|
if (childElement.tagName().equals("img") || childElement.tagName().equals("image")) {
|
|
|
-// sbf.append(childElement.outerHtml());
|
|
|
+ // sbf.append(childElement.outerHtml());
|
|
|
sbf.append("—");
|
|
|
} else {
|
|
|
sbf.append(childElement.text());
|