mirror of
https://github.com/NaiboWang/EasySpider.git
synced 2025-04-20 10:05:00 +08:00
Bug Fix
This commit is contained in:
parent
f8df7d3765
commit
dde63bdd2e
@ -1913,6 +1913,8 @@ class BrowserThread(Thread):
|
|||||||
content = element.get_attribute(attribute_name)
|
content = element.get_attribute(attribute_name)
|
||||||
except:
|
except:
|
||||||
content = ""
|
content = ""
|
||||||
|
if content == None:
|
||||||
|
content = ""
|
||||||
return content
|
return content
|
||||||
|
|
||||||
def clearOutputParameters(self):
|
def clearOutputParameters(self):
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -277,6 +277,7 @@ let app = new Vue({
|
|||||||
"afterJSWaitTime": 0,
|
"afterJSWaitTime": 0,
|
||||||
"downloadPic": 0,
|
"downloadPic": 0,
|
||||||
"paraType": "text",
|
"paraType": "text",
|
||||||
|
"splitLine": 0,
|
||||||
});
|
});
|
||||||
notifyParameterNum(1);
|
notifyParameterNum(1);
|
||||||
this.paraIndex = this.nowNode["parameters"]["params"].length - 1;
|
this.paraIndex = this.nowNode["parameters"]["params"].length - 1;
|
||||||
|
@ -71,6 +71,7 @@ function changeOutputFormat(param) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function changeGetDataParameters(msg, i) {
|
function changeGetDataParameters(msg, i) {
|
||||||
|
//Flowchart.js的addParam函数要配套跟上!!!
|
||||||
msg["parameters"][i]["default"] = ""; //找不到元素时候的默认值
|
msg["parameters"][i]["default"] = ""; //找不到元素时候的默认值
|
||||||
msg["parameters"][i]["paraType"] = "text"; //参数类型
|
msg["parameters"][i]["paraType"] = "text"; //参数类型
|
||||||
msg["parameters"][i]["recordASField"] = 1; //是否记录为字段值
|
msg["parameters"][i]["recordASField"] = 1; //是否记录为字段值
|
||||||
|
1
ElectronJS/tasks/301.json
Normal file
1
ElectronJS/tasks/301.json
Normal file
File diff suppressed because one or more lines are too long
2
ExecuteStage/.vscode/launch.json
vendored
2
ExecuteStage/.vscode/launch.json
vendored
@ -12,7 +12,7 @@
|
|||||||
"justMyCode": false,
|
"justMyCode": false,
|
||||||
// "args": ["--ids", "[7]", "--read_type", "remote", "--headless", "0"]
|
// "args": ["--ids", "[7]", "--read_type", "remote", "--headless", "0"]
|
||||||
// "args": ["--ids", "[9]", "--read_type", "remote", "--headless", "0", "--saved_file_name", "YOUTUBE"]
|
// "args": ["--ids", "[9]", "--read_type", "remote", "--headless", "0", "--saved_file_name", "YOUTUBE"]
|
||||||
"args": ["--ids", "[2]", "--headless", "0", "--user_data", "0", "--keyboard", "0",
|
"args": ["--ids", "[43]", "--headless", "0", "--user_data", "1", "--keyboard", "0",
|
||||||
"--read_type", "remote"]
|
"--read_type", "remote"]
|
||||||
// "args": "--ids '[97]' --user_data 1 --server_address http://localhost:8074 --config_folder '/Users/naibo/Documents/EasySpider/ElectronJS/' --headless 0 --read_type remote --config_file_name config.json --saved_file_name"
|
// "args": "--ids '[97]' --user_data 1 --server_address http://localhost:8074 --config_folder '/Users/naibo/Documents/EasySpider/ElectronJS/' --headless 0 --read_type remote --config_file_name config.json --saved_file_name"
|
||||||
}
|
}
|
||||||
|
@ -1913,6 +1913,8 @@ class BrowserThread(Thread):
|
|||||||
content = element.get_attribute(attribute_name)
|
content = element.get_attribute(attribute_name)
|
||||||
except:
|
except:
|
||||||
content = ""
|
content = ""
|
||||||
|
if content == None:
|
||||||
|
content = ""
|
||||||
return content
|
return content
|
||||||
|
|
||||||
def clearOutputParameters(self):
|
def clearOutputParameters(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user