mirror of
https://github.com/NaiboWang/EasySpider.git
synced 2025-04-22 07:17:33 +08:00
Remove duplicate parameter names
This commit is contained in:
parent
b9f640f7ce
commit
df9545b62b
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 @@
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": true,
|
||||
// "args": ["--id", "38", "--read_type", "local", "--headless", "1"]
|
||||
"args": ["--id", "[99]", "--headless", "0", "--user_data", "1"]
|
||||
"args": ["--id", "[36]", "--headless", "0", "--user_data", "1"]
|
||||
}
|
||||
]
|
||||
}
|
@ -156,9 +156,10 @@ class BrowserThread(Thread):
|
||||
self.history = {"index": 0, "handle": None} # 记录页面现在所以在的历史记录的位置
|
||||
self.SAVED = False # 记录是否已经存储了
|
||||
for para in tOut:
|
||||
self.outputParameters[para["name"]] = ""
|
||||
self.dataNotFoundKeys[para["name"]] = False
|
||||
self.OUTPUT[0].append(para["name"])
|
||||
if para["name"] not in self.outputParameters.keys():
|
||||
self.outputParameters[para["name"]] = ""
|
||||
self.dataNotFoundKeys[para["name"]] = False
|
||||
self.OUTPUT[0].append(para["name"])
|
||||
self.urlId = 0 # 全局记录变量
|
||||
|
||||
def run(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user