Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
naibo committed May 13, 2023
1 parent 7c05b95 commit 40c5979
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
12 changes: 10 additions & 2 deletions ElectronJS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,16 @@ npm install
npm install @electron-forge/cli
```

Then run the software in developing mode:

```
npm run start_direct
```

## Package Instruction

After finish developing, package software by the following command:

```
npx electron-forge import
npm run package
Expand All @@ -51,7 +59,7 @@ optional:
npm run make
```

## For windows x64
### For windows x64

依次执行下面两个cmd即可打包

Expand All @@ -60,7 +68,7 @@ package_win64.cmd
clean_win64.cmd
```

## For Windows x86
### For Windows x86
依次执行下面两个cmd即可打包

```
Expand Down
2 changes: 1 addition & 1 deletion ElectronJS/src/taskGrid/FlowChart.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<button type="button" data=2 class="btn btn-outline-primary options">Click Element</button>
<button type="button" data=3 class="btn btn-outline-primary options">Collect Data</button>
<button type="button" data=4 class="btn btn-outline-primary options">Input Text</button>
<!-- <button type="button" data=5 class="btn btn-outline-primary options">-</button> -->
<button type="button" data=5 class="btn btn-outline-primary options">Custom Action</button>
<!-- <button type="button" data=6 style="font-size: 14px!important;" class="btn btn-outline-primary options">Change Option</button> -->
<!-- <button type="button" data=7 class="btn btn-outline-primary options">-</button> -->
<button type="button" data=8 class="btn btn-outline-primary options">Loop</button>
Expand Down
2 changes: 1 addition & 1 deletion ElectronJS/src/taskGrid/FlowChart_CN.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<button type="button" data=2 class="btn btn-outline-primary options">点击元素</button>
<button type="button" data=3 class="btn btn-outline-primary options">提取数据</button>
<button type="button" data=4 class="btn btn-outline-primary options">输入文字</button>
<button type="button" data=5 class="btn btn-outline-primary options">识别验证码</button>
<button type="button" data=5 class="btn btn-outline-primary options">自定义操作</button>
<button type="button" data=6 style="font-size: 14px!important;" class="btn btn-outline-primary options">切换下拉选项</button>
<button type="button" data=7 class="btn btn-outline-primary options">移动到元素</button>
<button type="button" data=8 class="btn btn-outline-primary options">循环</button>
Expand Down
4 changes: 2 additions & 2 deletions ExecuteStage/easyspider_executestage.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ def clean():
browser.get('about:blank')
browser.set_page_load_timeout(10) # 加载页面最大超时时间
browser.set_script_timeout(10)
id = c.id;
id = c.id
print("id: ", id)
if c.saved_file_name != "":
saveName = "task_" + str(id) + "_" + c.saved_file_name # 保存文件的名字
Expand All @@ -797,7 +797,7 @@ def clean():
content = requests.get(backEndAddress + "/queryExecutionInstance?id=" + str(id))
else:
print("local")
with open("tasks/" + str(id) + ".json", 'r', encoding='utf-8') as f:
with open("execution_instances/" + str(id) + ".json", 'r', encoding='utf-8') as f:
content = f.read()
service = json.loads(content.text) # 加载服务信息
print("name: ", service["name"])
Expand Down
2 changes: 2 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ Bilibili/B站视频教程:

[如何爬需要输入验证码的网站](https://www.bilibili.com/video/BV18c411K7FH)

[如何切换IP池和使用隧道IP - 打开详情页采集案](https://www.bilibili.com/video/BV1KT411t79n)

[流程图执行逻辑解析 - 58同城房源描述采集案例](https://www.bilibili.com/video/BV1YL411z7uW)

[MacOS系统设计和执行eBay网站爬虫任务教程](https://www.bilibili.com/video/BV1WL411h71r)
Expand Down

0 comments on commit 40c5979

Please sign in to comment.