Skip to content

Commit 40c5979

Browse files
author
naibo
committed
Update Readme
1 parent 7c05b95 commit 40c5979

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

ElectronJS/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,16 @@ npm install
3838
npm install @electron-forge/cli
3939
```
4040

41+
Then run the software in developing mode:
42+
43+
```
44+
npm run start_direct
45+
```
46+
4147
## Package Instruction
4248

49+
After finish developing, package software by the following command:
50+
4351
```
4452
npx electron-forge import
4553
npm run package
@@ -51,7 +59,7 @@ optional:
5159
npm run make
5260
```
5361

54-
## For windows x64
62+
### For windows x64
5563

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

@@ -60,7 +68,7 @@ package_win64.cmd
6068
clean_win64.cmd
6169
```
6270

63-
## For Windows x86
71+
### For Windows x86
6472
依次执行下面两个cmd即可打包
6573

6674
```

ElectronJS/src/taskGrid/FlowChart.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<button type="button" data=2 class="btn btn-outline-primary options">Click Element</button>
3939
<button type="button" data=3 class="btn btn-outline-primary options">Collect Data</button>
4040
<button type="button" data=4 class="btn btn-outline-primary options">Input Text</button>
41-
<!-- <button type="button" data=5 class="btn btn-outline-primary options">-</button> -->
41+
<button type="button" data=5 class="btn btn-outline-primary options">Custom Action</button>
4242
<!-- <button type="button" data=6 style="font-size: 14px!important;" class="btn btn-outline-primary options">Change Option</button> -->
4343
<!-- <button type="button" data=7 class="btn btn-outline-primary options">-</button> -->
4444
<button type="button" data=8 class="btn btn-outline-primary options">Loop</button>

ElectronJS/src/taskGrid/FlowChart_CN.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<button type="button" data=2 class="btn btn-outline-primary options">点击元素</button>
3939
<button type="button" data=3 class="btn btn-outline-primary options">提取数据</button>
4040
<button type="button" data=4 class="btn btn-outline-primary options">输入文字</button>
41-
<button type="button" data=5 class="btn btn-outline-primary options">识别验证码</button>
41+
<button type="button" data=5 class="btn btn-outline-primary options">自定义操作</button>
4242
<button type="button" data=6 style="font-size: 14px!important;" class="btn btn-outline-primary options">切换下拉选项</button>
4343
<button type="button" data=7 class="btn btn-outline-primary options">移动到元素</button>
4444
<button type="button" data=8 class="btn btn-outline-primary options">循环</button>

ExecuteStage/easyspider_executestage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ def clean():
784784
browser.get('about:blank')
785785
browser.set_page_load_timeout(10) # 加载页面最大超时时间
786786
browser.set_script_timeout(10)
787-
id = c.id;
787+
id = c.id
788788
print("id: ", id)
789789
if c.saved_file_name != "":
790790
saveName = "task_" + str(id) + "_" + c.saved_file_name # 保存文件的名字
@@ -797,7 +797,7 @@ def clean():
797797
content = requests.get(backEndAddress + "/queryExecutionInstance?id=" + str(id))
798798
else:
799799
print("local")
800-
with open("tasks/" + str(id) + ".json", 'r', encoding='utf-8') as f:
800+
with open("execution_instances/" + str(id) + ".json", 'r', encoding='utf-8') as f:
801801
content = f.read()
802802
service = json.loads(content.text) # 加载服务信息
803803
print("name: ", service["name"])

Readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Bilibili/B站视频教程:
3333

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

36+
[如何切换IP池和使用隧道IP - 打开详情页采集案](https://www.bilibili.com/video/BV1KT411t79n)
37+
3638
[流程图执行逻辑解析 - 58同城房源描述采集案例](https://www.bilibili.com/video/BV1YL411z7uW)
3739

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

0 commit comments

Comments
 (0)