mirror of
https://github.com/NaiboWang/EasySpider.git
synced 2025-04-20 12:30:02 +08:00
Update Readme
This commit is contained in:
parent
7c05b954a9
commit
40c5979ef8
@ -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
|
||||
@ -51,7 +59,7 @@ optional:
|
||||
npm run make
|
||||
```
|
||||
|
||||
## For windows x64
|
||||
### For windows x64
|
||||
|
||||
依次执行下面两个cmd即可打包
|
||||
|
||||
@ -60,7 +68,7 @@ package_win64.cmd
|
||||
clean_win64.cmd
|
||||
```
|
||||
|
||||
## For Windows x86
|
||||
### For Windows x86
|
||||
依次执行下面两个cmd即可打包
|
||||
|
||||
```
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -784,7 +784,7 @@ if __name__ == '__main__':
|
||||
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 # 保存文件的名字
|
||||
@ -797,7 +797,7 @@ if __name__ == '__main__':
|
||||
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"])
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user