forked from NaiboWang/EasySpider
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
naibo
committed
May 19, 2023
1 parent
f76cd8d
commit 9774592
Showing
3 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"id":48,"name":"新web采集任务","url":"http:https://www.ceic.ac.cn/history","links":"http:https://www.ceic.ac.cn/history","create_time":"5/19/2023, 11:10:59 PM","containJudge":true,"desc":"http:https://www.ceic.ac.cn/history","inputParameters":[{"id":0,"name":"urlList_0","nodeId":1,"nodeName":"打开网页","value":"http:https://www.ceic.ac.cn/history","desc":"要采集的网址列表,多行以\\n分开","type":"string","exampleValue":"http:https://www.ceic.ac.cn/history"},{"id":1,"name":"inputText_1","nodeName":"输入文字","nodeId":2,"desc":"要输入的文本,如京东搜索框输入:电脑","type":"string","exampleValue":"1","value":"1"}],"outputParameters":[{"id":0,"name":"参数1_文本","desc":"","type":"string","exampleValue":"3.2"},{"id":1,"name":"参数2_文本","desc":"","type":"string","exampleValue":"2023-05-1918:26:43"},{"id":2,"name":"参数3_文本","desc":"","type":"string","exampleValue":"41.31"},{"id":3,"name":"参数4_文本","desc":"","type":"string","exampleValue":"84.03"},{"id":4,"name":"参数5_文本","desc":"","type":"string","exampleValue":"10"},{"id":5,"name":"参数6_链接文本","desc":"","type":"string","exampleValue":"新疆巴音郭楞州轮台县"},{"id":6,"name":"参数7_链接地址","desc":"","type":"string","exampleValue":"https://news.ceic.ac.cn/CD20230519182644.html"},{"id":7,"name":"参数8_文本","desc":"","type":"string","exampleValue":"震级(M)"},{"id":8,"name":"参数9_文本","desc":"","type":"string","exampleValue":"发震时刻(UTC+8)"},{"id":9,"name":"参数10_文本","desc":"","type":"string","exampleValue":"纬度(°)"},{"id":10,"name":"参数11_文本","desc":"","type":"string","exampleValue":"经度(°)"},{"id":11,"name":"参数12_文本","desc":"","type":"string","exampleValue":"深度(千米)"},{"id":12,"name":"参数13_文本","desc":"","type":"string","exampleValue":"参考位置"}],"graph":[{"index":0,"id":0,"parentId":0,"type":-1,"option":0,"title":"root","sequence":[1,2,3,4],"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":"http:https://www.ceic.ac.cn/history","links":"http:https://www.ceic.ac.cn/history","maxWaitTime":10,"scrollType":0,"scrollCount":0}},{"id":2,"index":2,"parentId":0,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":false,"position":1,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"//*[@id=\"weidu1\"]","wait":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"value":"1","allXPaths":["/html/body/div[1]/div[3]/div[1]/div[1]/div[1]/form[1]/div[2]/input[1]","//input[contains(., '')]","id(\"weidu1\")","//INPUT[@class='span1']","//INPUT[@name='weidu1']"]}},{"id":3,"index":3,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":2,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"//*[@id=\"search\"]","wait":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[1]/div[3]/div[1]/div[1]/div[1]/form[1]/div[5]/a[1]","//a[contains(., '查询')]","id(\"search\")","//A[@class='check']"]}},{"id":4,"index":4,"parentId":0,"type":1,"option":8,"title":"循环","sequence":[6],"isInLoop":false,"position":3,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"/html/body/div[1]/div[3]/div[1]/div[1]/div[2]/div[1]/div[1]/table[1]/tbody[1]/tr","wait":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":0,"loopType":1,"pathList":"","textList":"","code":"","waitTime":0,"exitCount":0,"historyWait":2,"allXPaths":["/html/body/div[1]/div[3]/div[1]/div[1]/div[2]/div[1]/div[1]/table[1]/tbody[1]/tr[1]","//tr[contains(., '震级(M)发震时刻(')]","//TR[@class='speed-tr-h1']"]}},{"id":8,"index":5,"parentId":6,"type":0,"option":3,"title":"提取数据","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"","wait":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"paras":[{"nodeType":0,"contentType":1,"relative":true,"name":"参数1_文本","desc":"","relativeXPath":"/td[1]","allXPaths":["/td[1]","//td[contains(., '3.2')]"],"exampleValues":[{"num":0,"value":"3.2"},{"num":2,"value":"3.9"},{"num":3,"value":"6.4"},{"num":4,"value":"4.5"},{"num":5,"value":"3.0"},{"num":6,"value":"5.5"},{"num":7,"value":"3.0"},{"num":8,"value":"5.3"},{"num":9,"value":"5.5"},{"num":10,"value":"4.0"},{"num":11,"value":"3.0"},{"num":12,"value":"4.2"},{"num":13,"value":"4.5"},{"num":14,"value":"5.9"},{"num":15,"value":"3.6"},{"num":16,"value":"3.3"},{"num":17,"value":"3.1"},{"num":18,"value":"3.1"},{"num":19,"value":"2.3"},{"num":20,"value":"3.0"}],"default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数2_文本","desc":"","relativeXPath":"/td[2]","allXPaths":["/td[2]","//td[contains(., '2023-05-19')]"],"exampleValues":[{"num":0,"value":"2023-05-1918:26:43"},{"num":2,"value":"2023-05-1905:18:32"},{"num":3,"value":"2023-05-1807:02:01"},{"num":4,"value":"2023-05-1705:56:23"},{"num":5,"value":"2023-05-1619:28:37"},{"num":6,"value":"2023-05-1418:11:34"},{"num":7,"value":"2023-05-1416:49:13"},{"num":8,"value":"2023-05-1416:21:42"},{"num":9,"value":"2023-05-1207:19:45"},{"num":10,"value":"2023-05-1206:07:18"},{"num":11,"value":"2023-05-1204:49:57"},{"num":12,"value":"2023-05-1204:32:10"},{"num":13,"value":"2023-05-1202:34:04"},{"num":14,"value":"2023-05-1121:33:11"},{"num":15,"value":"2023-05-1008:38:11"},{"num":16,"value":"2023-05-0919:23:29"},{"num":17,"value":"2023-05-0918:22:15"},{"num":18,"value":"2023-05-0914:12:22"},{"num":19,"value":"2023-05-0912:31:46"},{"num":20,"value":"2023-05-0804:06:46"}],"default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数3_文本","desc":"","relativeXPath":"/td[3]","allXPaths":["/td[3]","//td[contains(., '41.31')]"],"exampleValues":[{"num":0,"value":"41.31"},{"num":2,"value":"33.48"},{"num":3,"value":"15.10"},{"num":4,"value":"42.78"},{"num":5,"value":"28.08"},{"num":6,"value":"33.60"},{"num":7,"value":"38.14"},{"num":8,"value":"33.35"},{"num":9,"value":"40.25"},{"num":10,"value":"29.62"},{"num":11,"value":"29.66"},{"num":12,"value":"29.63"},{"num":13,"value":"29.64"},{"num":14,"value":"24.00"},{"num":15,"value":"28.11"},{"num":16,"value":"41.20"},{"num":17,"value":"35.78"},{"num":18,"value":"41.07"},{"num":19,"value":"37.51"},{"num":20,"value":"29.72"}],"default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数4_文本","desc":"","relativeXPath":"/td[4]","allXPaths":["/td[4]","//td[contains(., '84.03')]"],"exampleValues":[{"num":0,"value":"84.03"},{"num":2,"value":"91.05"},{"num":3,"value":"-90.90"},{"num":4,"value":"80.59"},{"num":5,"value":"105.12"},{"num":6,"value":"139.45"},{"num":7,"value":"75.66"},{"num":8,"value":"139.40"},{"num":9,"value":"-120.90"},{"num":10,"value":"102.03"},{"num":11,"value":"102.01"},{"num":12,"value":"102.02"},{"num":13,"value":"102.04"},{"num":14,"value":"125.40"},{"num":15,"value":"105.09"},{"num":16,"value":"83.28"},{"num":17,"value":"79.81"},{"num":18,"value":"78.84"},{"num":19,"value":"115.07"},{"num":20,"value":"103.26"}],"default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数5_文本","desc":"","relativeXPath":"/td[5]","allXPaths":["/td[5]","//td[contains(., '10')]"],"exampleValues":[{"num":0,"value":"10"},{"num":2,"value":"10"},{"num":3,"value":"250"},{"num":4,"value":"10"},{"num":5,"value":"10"},{"num":6,"value":"10"},{"num":7,"value":"118"},{"num":8,"value":"10"},{"num":9,"value":"10"},{"num":10,"value":"10"},{"num":11,"value":"9"},{"num":12,"value":"10"},{"num":13,"value":"10"},{"num":14,"value":"10"},{"num":15,"value":"8"},{"num":16,"value":"15"},{"num":17,"value":"10"},{"num":18,"value":"10"},{"num":19,"value":"10"},{"num":20,"value":"18"}],"default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0},{"nodeType":1,"contentType":0,"relative":true,"name":"参数6_链接文本","desc":"","relativeXPath":"/td[6]/a[1]","allXPaths":["/td[6]/a[1]","//a[contains(., '新疆巴音郭楞州轮台县')]","id(\"cid\")"],"exampleValues":[{"num":0,"value":"新疆巴音郭楞州轮台县"},{"num":2,"value":"青海海西州唐古拉地区"},{"num":3,"value":"危地马拉"},{"num":4,"value":"新疆伊犁州昭苏县"},{"num":5,"value":"四川宜宾市兴文县"},{"num":6,"value":"日本本州东南海域"},{"num":7,"value":"新疆克孜勒苏州阿克陶县"},{"num":8,"value":"日本本州东南海域"},{"num":9,"value":"美国加利福尼亚州"},{"num":10,"value":"四川甘孜州泸定县"},{"num":11,"value":"四川甘孜州泸定县"},{"num":12,"value":"四川甘孜州泸定县"},{"num":13,"value":"四川甘孜州泸定县"},{"num":14,"value":"琉球群岛"},{"num":15,"value":"四川宜宾市兴文县"},{"num":16,"value":"新疆阿克苏地区库车市"},{"num":17,"value":"新疆和田地区和田县"},{"num":18,"value":"新疆阿克苏地区乌什县"},{"num":19,"value":"河北邢台市宁晋县"},{"num":20,"value":"四川眉山市洪雅县"}],"default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0},{"nodeType":2,"contentType":0,"relative":true,"name":"参数7_链接地址","desc":"","relativeXPath":"/td[6]/a[1]","allXPaths":["/td[6]/a[1]","//a[contains(., '新疆巴音郭楞州轮台县')]","id(\"cid\")"],"exampleValues":[{"num":0,"value":"https://news.ceic.ac.cn/CD20230519182644.html"},{"num":2,"value":"https://news.ceic.ac.cn/CD20230519051833.html"},{"num":3,"value":"https://news.ceic.ac.cn/CC20230518070201.html"},{"num":4,"value":"https://news.ceic.ac.cn/CD20230517055623.html"},{"num":5,"value":"https://news.ceic.ac.cn/CD20230516192837.html"},{"num":6,"value":"https://news.ceic.ac.cn/CC20230514181134.html"},{"num":7,"value":"https://news.ceic.ac.cn/CD20230514164913.html"},{"num":8,"value":"https://news.ceic.ac.cn/CC20230514162142.html"},{"num":9,"value":"https://news.ceic.ac.cn/CC20230512071946.html"},{"num":10,"value":"https://news.ceic.ac.cn/CC20230512060719.html"},{"num":11,"value":"https://news.ceic.ac.cn/CD20230512044957.html"},{"num":12,"value":"https://news.ceic.ac.cn/CC20230512043211.html"},{"num":13,"value":"https://news.ceic.ac.cn/CC20230512023404.html"},{"num":14,"value":"https://news.ceic.ac.cn/CC20230511213311.html"},{"num":15,"value":"https://news.ceic.ac.cn/CC20230510083811.html"},{"num":16,"value":"https://news.ceic.ac.cn/CD20230509192329.html"},{"num":17,"value":"https://news.ceic.ac.cn/CD20230509182216.html"},{"num":18,"value":"https://news.ceic.ac.cn/CD20230509141222.html"},{"num":19,"value":"https://news.ceic.ac.cn/CD20230509123147.html"},{"num":20,"value":"https://news.ceic.ac.cn/CD20230508040647.html"}],"default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数8_文本","desc":"","relativeXPath":"/th[1]","allXPaths":["/th[1]","//th[contains(., '震级(M)')]"],"exampleValues":[{"num":1,"value":"震级(M)"}],"default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数9_文本","desc":"","relativeXPath":"/th[2]","allXPaths":["/th[2]","//th[contains(., '发震时刻(UTC+8')]"],"exampleValues":[{"num":1,"value":"发震时刻(UTC+8)"}],"default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数10_文本","desc":"","relativeXPath":"/th[3]","allXPaths":["/th[3]","//th[contains(., '纬度(°)')]"],"exampleValues":[{"num":1,"value":"纬度(°)"}],"default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数11_文本","desc":"","relativeXPath":"/th[4]","allXPaths":["/th[4]","//th[contains(., '经度(°)')]"],"exampleValues":[{"num":1,"value":"经度(°)"}],"default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数12_文本","desc":"","relativeXPath":"/th[5]","allXPaths":["/th[5]","//th[contains(., '深度(千米)')]"],"exampleValues":[{"num":1,"value":"深度(千米)"}],"default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数13_文本","desc":"","relativeXPath":"/th[6]","allXPaths":["/th[6]","//th[contains(., '参考位置')]"],"exampleValues":[{"num":1,"value":"参考位置"}],"default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0}],"loopType":1}},{"id":5,"index":6,"parentId":4,"type":2,"option":9,"title":"判断条件","sequence":[7,8],"isInLoop":true,"position":0,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","wait":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0}},{"id":6,"parentId":5,"index":7,"type":3,"option":10,"title":"条件分支","sequence":[5],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","wait":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"class":"3","value":"10","code":"","waitTime":0},"position":0},{"id":7,"parentId":5,"index":8,"type":3,"option":10,"title":"条件分支","sequence":[],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","wait":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"class":0,"value":"","code":"","waitTime":0},"position":1}]} |