Skip to content

Commit d74b3be

Browse files
committed
update split
1 parent b754a6b commit d74b3be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/aiqicha/search.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ const shareholders = async () => {
441441
for (var i = 0; i < tbody.length; i++) {
442442
var path = tbody[i].querySelectorAll('td');
443443
console.log("bufsnake shareholders " + path[1].innerText.replaceAll('\n', " ").replaceAll("股权结构",
444-
" ").replaceAll(">", " ").trim() + " " + path[2].innerText);
444+
" ").replaceAll(">", " ").trim().replaceAll(" ", "-") + " " + path[2].innerText);
445445
}
446446
await sleep(2000);
447447
if (!getNext_shareholders()) {
@@ -515,7 +515,7 @@ const webRecord = async () => {
515515
var tbody = document.querySelectorAll('#certRecord-webRecord > table > tbody > tr');
516516
for (var i = 0; i < tbody.length; i++) {
517517
var path = tbody[i].querySelectorAll('td');
518-
console.log("bufsnake webRecord "+path[1].innerText + " " + path[2].innerText + " " + path[4].innerText);
518+
console.log("bufsnake webRecord "+path[1].innerText.replaceAll("\n",";") + " " + path[2].innerText.replaceAll("\n",";") + " " + path[4].innerText.replaceAll("\n",";"));
519519
}
520520
await sleep(2000);
521521
if (!getNext_webRecord()) {

0 commit comments

Comments
 (0)