Sfoglia il codice sorgente

MacOS Gitee

pull/73/head
naibo 1 anno fa
parent
commit
527a004e73
4 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. +1
    -1
      .temp_to_pub/.gitignore
  2. +1
    -0
      .temp_to_pub/EasySpider_windows_amd64/execution_instances/9.json
  3. +0
    -0
      .temp_to_pub/请继续解压zip文件以使用EasySpider.txt
  4. +1
    -1
      ElectronJS/src/taskGrid/invokeTask.html

+ 1
- 1
.temp_to_pub/.gitignore Vedi File

@ -3,4 +3,4 @@ EasySpider
EasySpider.app/
EasySpider_windows_amd64/user_data
*.tmp
*.7z
*.7z*

+ 1
- 0
.temp_to_pub/EasySpider_windows_amd64/execution_instances/9.json Vedi File

@ -0,0 +1 @@
{"id":9,"name":"芜湖房地产交易信息网","url":"https://www.whfdcjy.cn:8065/website/app/NewHouse/index","links":"https://www.whfdcjy.cn:8065/website/app/NewHouse/index","create_time":"6/1/2023, 12:03:07 PM","version":"0.3.2","containJudge":false,"desc":"https://www.whfdcjy.cn:8065/website/app/NewHouse/index","inputParameters":[{"id":0,"name":"urlList_0","nodeId":1,"nodeName":"打开网页","value":"https://www.whfdcjy.cn:8065/website/app/NewHouse/index","desc":"要采集的网址列表,多行以\\n分开","type":"string","exampleValue":"https://www.whfdcjy.cn:8065/website/app/NewHouse/index"},{"id":1,"name":"loopTimes_循环_1","nodeId":5,"nodeName":"循环","desc":"循环循环执行的次数(0代表无限循环)","type":"int","exampleValue":0,"value":0}],"outputParameters":[{"id":0,"name":"参数1_文本","desc":"","type":"string","exampleValue":"\n\t\t\t\t\t\t\t伟星天玺\n\t\t\t\t\t\t\t规划用途:住宅、商业\n\t\t\t\t\t\t"}],"graph":[{"index":0,"id":0,"parentId":0,"type":-1,"option":0,"title":"root","sequence":[1,5],"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","wait":0},"isInLoop":false},{"id":1,"index":1,"parentId":0,"type":0,"option":1,"title":"打开网页","sequence":[],"isInLoop":false,"position":0,"parameters":{"useLoop":false,"xpath":"","wait":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"url":"https://www.whfdcjy.cn:8065/website/app/NewHouse/index","links":"https://www.whfdcjy.cn:8065/website/app/NewHouse/index","maxWaitTime":10,"scrollType":0,"scrollCount":1,"scrollWaitTime":1}},{"id":3,"index":2,"parentId":2,"type":1,"option":8,"title":"循环","sequence":[3,4],"isInLoop":true,"position":0,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"/html/body/div[2]/div[3]/div[1]/div[1]/div[2]/ul[1]/li/ul[1]/li[1]/a[1]","wait":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":1,"pathList":"","textList":"","code":"","waitTime":0,"exitCount":0,"historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":""}},{"id":5,"index":3,"parentId":3,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":4,"tabIndex":-1,"useLoop":true,"xpath":"/html/body/div[2]/div[3]/div[1]/div[1]/div[2]/ul[1]/li/ul[1]/li[1]/a[1]","wait":2,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"maxWaitTime":10,"paras":[],"allXPaths":"","loopType":1}},{"id":6,"index":4,"parentId":3,"type":0,"option":3,"title":"提取数据","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":1,"tabIndex":-1,"useLoop":false,"xpath":"","wait":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"paras":[{"nodeType":0,"contentType":0,"relative":false,"name":"参数1_文本","desc":"","extractType":0,"relativeXPath":"/html/body/div[2]/div[2]/div[1]/div[1]/div[2]/div[1]/div[1]/div[1]","allXPaths":["/html/body/div[2]/div[2]/div[1]/div[1]/div[2]/div[1]/div[1]/div[1]","//div[contains(., '伟星')]","//DIV[@class='project-detail__name']"],"exampleValues":[{"num":0,"value":"\n\t\t\t\t\t\t\t伟星天玺\n\t\t\t\t\t\t\t规划用途:住宅、商业\n\t\t\t\t\t\t"}],"default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}]}},{"id":2,"index":5,"parentId":0,"type":1,"option":8,"title":"循环","sequence":[2,6],"isInLoop":false,"position":1,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"laypage_next\")]","wait":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":0,"pathList":"","textList":"","code":"","waitTime":0,"exitCount":0,"historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":["/html/body/div[2]/div[3]/div[1]/div[1]/div[2]/div[1]/div[1]/a[6]","//a[contains(., '>')]","//A[@class='laypage_next']"]}},{"id":4,"index":6,"parentId":2,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":3,"tabIndex":-1,"useLoop":true,"xpath":"//*[contains(@class, \"laypage_next\")]","wait":2,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[2]/div[3]/div[1]/div[1]/div[2]/div[1]/div[1]/a[6]","//a[contains(., '>')]","//A[@class='laypage_next']"],"loopType":0}}]}

+ 0
- 0
.temp_to_pub/请继续解压zip文件以使用EasySpider.txt Vedi File


+ 1
- 1
ElectronJS/src/taskGrid/invokeTask.html Vedi File

@ -57,7 +57,7 @@
<div class="modal-body">
<input onkeydown="inputDelete(event)" id="serviceId" type="hidden" name="serviceId" value="-1"></input>
<input onkeydown="inputDelete(event)" id="url" type="hidden" name="url" value="about:blank"></input>
<label>{{`Please open a terminal (For Windows, please use PowerShell instead of CMD), go to EasySpider's folder, and then copy (Command/Ctrl + c) the following command to run the task (EasySpider cannot quit when executing command, unless --read_type is set to "local"):~请在EasySpider目录下打开命令行工具Terminal (Windows请使用PowerShell而不是CMD),然后复制(Command/Ctrl + c)和运行以下命令以执行任务(执行命令时不能退出EasySpider,除非将--read_type设置为local):` | lang}}</label>
<label>{{`Please open a terminal (For Windows, please use PowerShell instead of CMD), go to EasySpider's folder, and then copy (Command/Ctrl + c) the following command to run the task (EasySpider cannot quit when executing command, unless --read_type is set to "local"):~请在EasySpider目录下打开命令行工具Terminal (Windows请使用PowerShell而不是CMD),然后复制(Command/Ctrl + c)和运行以下命令以执行任务(执行命令时<b>不能退出EasySpider,除非</b>将--read_type设置为local):` | lang}}</label>
<label><a href="https://github.com/NaiboWang/EasySpider/wiki/Argument-Instruction" target="_blank">{{`Click Here~点击这里` | lang}}</a> {{`Here to see argument instruction.~这里查看参数配置说明。` | lang}}</label>
<textarea class="form-control" style="height:150px">cd {{easyspider_location}}
{{command}} --config_folder "{{config_folder}}" --headless 0 --read_type remote --config_file_name config.json --saved_file_name </textarea>

Caricamento…
Annulla
Salva