mirror of
https://github.com/NaiboWang/EasySpider.git
synced 2025-04-23 04:34:22 +08:00
Version Update
This commit is contained in:
parent
b5e5aac505
commit
f4a8c7aed9
@ -1,3 +1,3 @@
|
|||||||
- 删除chrome的install文件夹
|
- 删除chrome的install文件夹
|
||||||
- 修改logic.js及logic_CN.js, ElectronJS/package.json,Manifestv3/package.json,easyspider_executestage.py中的版本号
|
- 修改logic.js及logic_CN.js, ElectronJS/package.json,manifest_v3/package.json,easyspider_executestage.py中的版本号
|
||||||
- 更新最新的tasks文件夹
|
- 更新最新的tasks文件夹
|
2
ExecuteStage/.vscode/launch.json
vendored
2
ExecuteStage/.vscode/launch.json
vendored
@ -12,7 +12,7 @@
|
|||||||
"console": "integratedTerminal",
|
"console": "integratedTerminal",
|
||||||
"justMyCode": true,
|
"justMyCode": true,
|
||||||
// "args": ["--id", "38", "--read_type", "local", "--headless", "1"]
|
// "args": ["--id", "38", "--read_type", "local", "--headless", "1"]
|
||||||
"args": ["--id", "23", "--headless", "0"]
|
"args": ["--id", "26", "--headless", "0"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -996,6 +996,17 @@ if __name__ == '__main__':
|
|||||||
service = json.loads(content) # 加载服务信息
|
service = json.loads(content) # 加载服务信息
|
||||||
print("name: ", service["name"])
|
print("name: ", service["name"])
|
||||||
procedure = service["graph"] # 程序执行流程
|
procedure = service["graph"] # 程序执行流程
|
||||||
|
try:
|
||||||
|
if service["version"] != c.version:
|
||||||
|
print("版本不一致,请使用" + service["version"] + "版本的EasySpider运行该任务")
|
||||||
|
print("Version not match, please use EasySpider " + service["version"] + " to run this task")
|
||||||
|
browser.quit()
|
||||||
|
sys.exit()
|
||||||
|
except:
|
||||||
|
print("版本不一致,请使用v0.2.0版本的EasySpider运行该任务")
|
||||||
|
print("Version not match, please use EasySpider v0.2.0 to run this task")
|
||||||
|
browser.quit()
|
||||||
|
sys.exit()
|
||||||
links = list(filter(isnull, service["links"].split("\n"))) # 要执行的link的列表
|
links = list(filter(isnull, service["links"].split("\n"))) # 要执行的link的列表
|
||||||
OUTPUT = [] # 采集的数据
|
OUTPUT = [] # 采集的数据
|
||||||
OUTPUT.append([]) # 添加表头
|
OUTPUT.append([]) # 添加表头
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "EasySpider",
|
"name": "EasySpider",
|
||||||
"version": "0.2.0",
|
"version": "0.3.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rollup -c",
|
"build": "rollup -c",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user