2023-05-20 20:44:34 +08:00

1 line
14 KiB
JSON

{"id":49,"name":"地震台网判断案例","url":"http://www.ceic.ac.cn/history","links":"http://www.ceic.ac.cn/history","create_time":"5/20/2023, 7:54:57 PM","containJudge":true,"desc":"http://www.ceic.ac.cn/history","inputParameters":[{"id":0,"name":"urlList_0","nodeId":1,"nodeName":"打开网页","value":"http://www.ceic.ac.cn/history","desc":"要采集的网址列表,多行以\\n分开","type":"string","exampleValue":"http://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":"2.8"},{"id":1,"name":"参数2_文本","desc":"","type":"string","exampleValue":"2023-05-2011:51:38"},{"id":2,"name":"参数3_文本","desc":"","type":"string","exampleValue":"24.97"},{"id":3,"name":"参数4_文本","desc":"","type":"string","exampleValue":"99.26"},{"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/CD20230520115138.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://www.ceic.ac.cn/history","links":"http://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(., '2.8')]"],"exampleValues":[{"num":0,"value":"2.8"},{"num":2,"value":"2.9"},{"num":3,"value":"5.7"},{"num":4,"value":"3.2"},{"num":5,"value":"3.9"},{"num":6,"value":"6.4"},{"num":7,"value":"4.5"},{"num":8,"value":"3.0"},{"num":9,"value":"5.5"},{"num":10,"value":"3.0"},{"num":11,"value":"5.3"},{"num":12,"value":"5.5"},{"num":13,"value":"4.0"},{"num":14,"value":"3.0"},{"num":15,"value":"4.2"},{"num":16,"value":"4.5"},{"num":17,"value":"5.9"},{"num":18,"value":"3.6"},{"num":19,"value":"3.3"},{"num":20,"value":"3.1"}],"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-20')]"],"exampleValues":[{"num":0,"value":"2023-05-2011:51:38"},{"num":2,"value":"2023-05-2009:03:26"},{"num":3,"value":"2023-05-1923:15:03"},{"num":4,"value":"2023-05-1918:26:43"},{"num":5,"value":"2023-05-1905:18:32"},{"num":6,"value":"2023-05-1807:02:01"},{"num":7,"value":"2023-05-1705:56:23"},{"num":8,"value":"2023-05-1619:28:37"},{"num":9,"value":"2023-05-1418:11:34"},{"num":10,"value":"2023-05-1416:49:13"},{"num":11,"value":"2023-05-1416:21:42"},{"num":12,"value":"2023-05-1207:19:45"},{"num":13,"value":"2023-05-1206:07:18"},{"num":14,"value":"2023-05-1204:49:57"},{"num":15,"value":"2023-05-1204:32:10"},{"num":16,"value":"2023-05-1202:34:04"},{"num":17,"value":"2023-05-1121:33:11"},{"num":18,"value":"2023-05-1008:38:11"},{"num":19,"value":"2023-05-0919:23:29"},{"num":20,"value":"2023-05-0918:22:15"}],"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(., '24.97')]"],"exampleValues":[{"num":0,"value":"24.97"},{"num":2,"value":"34.26"},{"num":3,"value":"12.75"},{"num":4,"value":"41.31"},{"num":5,"value":"33.48"},{"num":6,"value":"15.10"},{"num":7,"value":"42.78"},{"num":8,"value":"28.08"},{"num":9,"value":"33.60"},{"num":10,"value":"38.14"},{"num":11,"value":"33.35"},{"num":12,"value":"40.25"},{"num":13,"value":"29.62"},{"num":14,"value":"29.66"},{"num":15,"value":"29.63"},{"num":16,"value":"29.64"},{"num":17,"value":"24.00"},{"num":18,"value":"28.11"},{"num":19,"value":"41.20"},{"num":20,"value":"35.78"}],"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(., '99.26')]"],"exampleValues":[{"num":0,"value":"99.26"},{"num":2,"value":"113.66"},{"num":3,"value":"49.00"},{"num":4,"value":"84.03"},{"num":5,"value":"91.05"},{"num":6,"value":"-90.90"},{"num":7,"value":"80.59"},{"num":8,"value":"105.12"},{"num":9,"value":"139.45"},{"num":10,"value":"75.66"},{"num":11,"value":"139.40"},{"num":12,"value":"-120.90"},{"num":13,"value":"102.03"},{"num":14,"value":"102.01"},{"num":15,"value":"102.02"},{"num":16,"value":"102.04"},{"num":17,"value":"125.40"},{"num":18,"value":"105.09"},{"num":19,"value":"83.28"},{"num":20,"value":"79.81"}],"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":"10"},{"num":4,"value":"10"},{"num":5,"value":"10"},{"num":6,"value":"250"},{"num":7,"value":"10"},{"num":8,"value":"10"},{"num":9,"value":"10"},{"num":10,"value":"118"},{"num":11,"value":"10"},{"num":12,"value":"10"},{"num":13,"value":"10"},{"num":14,"value":"9"},{"num":15,"value":"10"},{"num":16,"value":"10"},{"num":17,"value":"10"},{"num":18,"value":"8"},{"num":19,"value":"15"},{"num":20,"value":"10"}],"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/CD20230520115138.html"},{"num":2,"value":"https://news.ceic.ac.cn/CD20230520090326.html"},{"num":3,"value":"https://news.ceic.ac.cn/CC20230519231504.html"},{"num":4,"value":"https://news.ceic.ac.cn/CD20230519182644.html"},{"num":5,"value":"https://news.ceic.ac.cn/CD20230519051833.html"},{"num":6,"value":"https://news.ceic.ac.cn/CC20230518070201.html"},{"num":7,"value":"https://news.ceic.ac.cn/CD20230517055623.html"},{"num":8,"value":"https://news.ceic.ac.cn/CD20230516192837.html"},{"num":9,"value":"https://news.ceic.ac.cn/CC20230514181134.html"},{"num":10,"value":"https://news.ceic.ac.cn/CD20230514164913.html"},{"num":11,"value":"https://news.ceic.ac.cn/CC20230514162142.html"},{"num":12,"value":"https://news.ceic.ac.cn/CC20230512071946.html"},{"num":13,"value":"https://news.ceic.ac.cn/CC20230512060719.html"},{"num":14,"value":"https://news.ceic.ac.cn/CD20230512044957.html"},{"num":15,"value":"https://news.ceic.ac.cn/CC20230512043211.html"},{"num":16,"value":"https://news.ceic.ac.cn/CC20230512023404.html"},{"num":17,"value":"https://news.ceic.ac.cn/CC20230511213311.html"},{"num":18,"value":"https://news.ceic.ac.cn/CC20230510083811.html"},{"num":19,"value":"https://news.ceic.ac.cn/CD20230509192329.html"},{"num":20,"value":"https://news.ceic.ac.cn/CD20230509182216.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":"7","value":"","code":"return document.evaluate(\"./td[5]\", arguments[0], null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.innerText.indexOf(\"5\") >= 0","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}]}