继续优化代码
This commit is contained in:
@@ -247,7 +247,7 @@ public class MoneyScraper {
|
||||
|
||||
if (soup2 != null) {
|
||||
Element comIdInput = soup2.selectFirst("input[id=ap_sc_id]");
|
||||
String companyCodeId = null;
|
||||
String companyCodeId = "";
|
||||
if (comIdInput != null) {
|
||||
companyCodeId = comIdInput.val();
|
||||
log.info(Thread.currentThread().getName()+",the stockName: " + textContent + ", THE input id: " + companyCodeId);
|
||||
|
||||
Reference in New Issue
Block a user