From 83d9c9a626cc1997ce1f2fdae83f37ab78177d05 Mon Sep 17 00:00:00 2001 From: naibo Date: Sat, 24 Jun 2023 21:06:29 +0800 Subject: [PATCH] Solve SSL Error --- .../EasySpider_windows_x64/execution_instances/24.json | 1 + .../EasySpider_windows_x64/execution_instances/25.json | 1 + .../EasySpider_windows_x64/execution_instances/26.json | 1 + .../EasySpider_windows_x64/execution_instances/27.json | 1 + .temp_to_pub/EasySpider_windows_x64/tasks/40.json | 1 + ExecuteStage/easyspider_executestage.py | 7 +++++-- 6 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .temp_to_pub/EasySpider_windows_x64/execution_instances/24.json create mode 100644 .temp_to_pub/EasySpider_windows_x64/execution_instances/25.json create mode 100644 .temp_to_pub/EasySpider_windows_x64/execution_instances/26.json create mode 100644 .temp_to_pub/EasySpider_windows_x64/execution_instances/27.json create mode 100644 .temp_to_pub/EasySpider_windows_x64/tasks/40.json diff --git a/.temp_to_pub/EasySpider_windows_x64/execution_instances/24.json b/.temp_to_pub/EasySpider_windows_x64/execution_instances/24.json new file mode 100644 index 0000000..6d0b3af --- /dev/null +++ b/.temp_to_pub/EasySpider_windows_x64/execution_instances/24.json @@ -0,0 +1 @@ +{"id":24,"name":"中国地震台网——历史查询","url":"http://www.ceic.ac.cn/history","links":"http://www.ceic.ac.cn/history","create_time":"6/20/2023, 2:45:40 PM","version":"0.3.2","containJudge":false,"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":"11","value":"11"},{"id":2,"name":"loopTimes_循环_2","nodeId":4,"nodeName":"循环","desc":"循环循环执行的次数(0代表无限循环)","type":"int","exampleValue":0,"value":0}],"outputParameters":[{"id":0,"name":"参数1_文本","desc":"","type":"string","exampleValue":"3.6"},{"id":1,"name":"参数2_文本","desc":"","type":"string","exampleValue":"2023-06-1308:48:30"},{"id":2,"name":"参数3_文本","desc":"","type":"string","exampleValue":"40.18"},{"id":3,"name":"参数4_文本","desc":"","type":"string","exampleValue":"83.80"},{"id":4,"name":"参数5_文本","desc":"","type":"string","exampleValue":"18"},{"id":5,"name":"参数6_链接文本","desc":"","type":"string","exampleValue":"新疆阿克苏地区沙雅县"},{"id":6,"name":"参数7_链接地址","desc":"","type":"string","exampleValue":"https://news.ceic.ac.cn/CD20230613084830.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":1,"scrollWaitTime":1}},{"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":"11","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":2,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"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,5],"isInLoop":false,"position":3,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"pagination\")]/ul[1]/li[last()-1]/a[1]","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[1]/div[3]/div[1]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/ul[1]/li[10]/a[1]","//a[contains(., '»')]"]}},{"id":6,"index":5,"parentId":4,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":4,"tabIndex":-1,"useLoop":true,"xpath":"//*[contains(@class, \"pagination\")]/ul[1]/li[10]/a[1]","wait":2,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[1]/div[3]/div[1]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/ul[1]/li[10]/a[1]","//a[contains(., '»')]"],"loopType":0}},{"id":5,"index":6,"parentId":4,"type":1,"option":8,"title":"循环","sequence":[7],"isInLoop":true,"position":0,"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":1,"scrollWaitTime":1,"loopType":1,"pathList":"","textList":"","code":"","waitTime":0,"exitCount":0,"historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"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":7,"index":7,"parentId":5,"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.6')]"],"exampleValues":[{"num":0,"value":"3.6"},{"num":2,"value":"3.7"},{"num":3,"value":"3.3"},{"num":4,"value":"4.3"},{"num":5,"value":"3.6"},{"num":6,"value":"6.2"},{"num":7,"value":"3.8"},{"num":8,"value":"3.3"},{"num":9,"value":"4.2"},{"num":10,"value":"4.7"},{"num":11,"value":"3.2"},{"num":12,"value":"3.1"},{"num":13,"value":"3.1"},{"num":14,"value":"3.2"},{"num":15,"value":"2.9"},{"num":16,"value":"3.8"},{"num":17,"value":"5.3"},{"num":18,"value":"5.9"},{"num":19,"value":"3.6"},{"num":20,"value":"5.7"}],"unique_index":"/td[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数2_文本","desc":"","relativeXPath":"/td[2]","allXPaths":["/td[2]","//td[contains(., '2023-06-13')]"],"exampleValues":[{"num":0,"value":"2023-06-1308:48:30"},{"num":2,"value":"2023-06-1305:52:59"},{"num":3,"value":"2023-06-1200:04:18"},{"num":4,"value":"2023-06-1120:25:38"},{"num":5,"value":"2023-06-1119:29:45"},{"num":6,"value":"2023-06-1117:54:45"},{"num":7,"value":"2023-06-1117:40:14"},{"num":8,"value":"2023-06-1100:12:51"},{"num":9,"value":"2023-06-1017:12:34"},{"num":10,"value":"2023-06-1013:31:54"},{"num":11,"value":"2023-06-1010:52:29"},{"num":12,"value":"2023-06-0820:25:13"},{"num":13,"value":"2023-06-0807:58:54"},{"num":14,"value":"2023-06-0801:07:54"},{"num":15,"value":"2023-06-0604:22:39"},{"num":16,"value":"2023-06-0504:39:09"},{"num":17,"value":"2023-06-0321:58:02"},{"num":18,"value":"2023-06-0315:17:45"},{"num":19,"value":"2023-06-0200:00:13"},{"num":20,"value":"2023-05-3119:20:15"}],"unique_index":"/td[2]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数3_文本","desc":"","relativeXPath":"/td[3]","allXPaths":["/td[3]","//td[contains(., '40.18')]"],"exampleValues":[{"num":0,"value":"40.18"},{"num":2,"value":"33.10"},{"num":3,"value":"43.38"},{"num":4,"value":"24.26"},{"num":5,"value":"48.74"},{"num":6,"value":"42.50"},{"num":7,"value":"40.79"},{"num":8,"value":"35.84"},{"num":9,"value":"22.85"},{"num":10,"value":"22.88"},{"num":11,"value":"31.73"},{"num":12,"value":"32.20"},{"num":13,"value":"28.34"},{"num":14,"value":"43.63"},{"num":15,"value":"35.12"},{"num":16,"value":"38.29"},{"num":17,"value":"12.45"},{"num":18,"value":"12.65"},{"num":19,"value":"40.80"},{"num":20,"value":"25.05"}],"unique_index":"/td[3]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数4_文本","desc":"","relativeXPath":"/td[4]","allXPaths":["/td[4]","//td[contains(., '83.80')]"],"exampleValues":[{"num":0,"value":"83.80"},{"num":2,"value":"86.73"},{"num":3,"value":"88.98"},{"num":4,"value":"122.47"},{"num":5,"value":"129.79"},{"num":6,"value":"142.00"},{"num":7,"value":"82.63"},{"num":8,"value":"79.77"},{"num":9,"value":"120.60"},{"num":10,"value":"120.65"},{"num":11,"value":"104.08"},{"num":12,"value":"88.89"},{"num":13,"value":"104.56"},{"num":14,"value":"85.99"},{"num":15,"value":"110.25"},{"num":16,"value":"93.84"},{"num":17,"value":"48.15"},{"num":18,"value":"47.90"},{"num":19,"value":"79.21"},{"num":20,"value":"96.40"}],"unique_index":"/td[4]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数5_文本","desc":"","relativeXPath":"/td[5]","allXPaths":["/td[5]","//td[contains(., '18')]"],"exampleValues":[{"num":0,"value":"18"},{"num":2,"value":"10"},{"num":3,"value":"19"},{"num":4,"value":"27"},{"num":5,"value":"17"},{"num":6,"value":"130"},{"num":7,"value":"20"},{"num":8,"value":"10"},{"num":9,"value":"19"},{"num":10,"value":"14"},{"num":11,"value":"18"},{"num":12,"value":"15"},{"num":13,"value":"10"},{"num":14,"value":"15"},{"num":15,"value":"25"},{"num":16,"value":"10"},{"num":17,"value":"10"},{"num":18,"value":"10"},{"num":19,"value":"13"},{"num":20,"value":"10"}],"unique_index":"/td[5]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":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":"缅甸"}],"unique_index":"/td[6]/a[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":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/CD20230613084830.html"},{"num":2,"value":"https://news.ceic.ac.cn/CC20230613055259.html"},{"num":3,"value":"https://news.ceic.ac.cn/CD20230612000419.html"},{"num":4,"value":"https://news.ceic.ac.cn/CD20230611202539.html"},{"num":5,"value":"https://news.ceic.ac.cn/CD20230611192945.html"},{"num":6,"value":"https://news.ceic.ac.cn/CC20230611175446.html"},{"num":7,"value":"https://news.ceic.ac.cn/CD20230611174015.html"},{"num":8,"value":"https://news.ceic.ac.cn/CD20230611001251.html"},{"num":9,"value":"https://news.ceic.ac.cn/CD20230610171234.html"},{"num":10,"value":"https://news.ceic.ac.cn/CC20230610133154.html"},{"num":11,"value":"https://news.ceic.ac.cn/CD20230610105230.html"},{"num":12,"value":"https://news.ceic.ac.cn/CD20230608202514.html"},{"num":13,"value":"https://news.ceic.ac.cn/CD20230608075855.html"},{"num":14,"value":"https://news.ceic.ac.cn/CD20230608010754.html"},{"num":15,"value":"https://news.ceic.ac.cn/CD20230606042239.html"},{"num":16,"value":"https://news.ceic.ac.cn/CD20230605043910.html"},{"num":17,"value":"https://news.ceic.ac.cn/CC20230603215802.html"},{"num":18,"value":"https://news.ceic.ac.cn/CC20230603151746.html"},{"num":19,"value":"https://news.ceic.ac.cn/CD20230602000013.html"},{"num":20,"value":"https://news.ceic.ac.cn/CC20230531192015.html"}],"unique_index":"/td[6]/a[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数8_文本","desc":"","relativeXPath":"/th[1]","allXPaths":["/th[1]","//th[contains(., '震级(M)')]"],"exampleValues":[{"num":1,"value":"震级(M)"}],"unique_index":"/th[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":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)"}],"unique_index":"/th[2]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数10_文本","desc":"","relativeXPath":"/th[3]","allXPaths":["/th[3]","//th[contains(., '纬度(°)')]"],"exampleValues":[{"num":1,"value":"纬度(°)"}],"unique_index":"/th[3]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数11_文本","desc":"","relativeXPath":"/th[4]","allXPaths":["/th[4]","//th[contains(., '经度(°)')]"],"exampleValues":[{"num":1,"value":"经度(°)"}],"unique_index":"/th[4]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数12_文本","desc":"","relativeXPath":"/th[5]","allXPaths":["/th[5]","//th[contains(., '深度(千米)')]"],"exampleValues":[{"num":1,"value":"深度(千米)"}],"unique_index":"/th[5]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数13_文本","desc":"","relativeXPath":"/th[6]","allXPaths":["/th[6]","//th[contains(., '参考位置')]"],"exampleValues":[{"num":1,"value":"参考位置"}],"unique_index":"/th[6]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}],"loopType":1}}]} \ No newline at end of file diff --git a/.temp_to_pub/EasySpider_windows_x64/execution_instances/25.json b/.temp_to_pub/EasySpider_windows_x64/execution_instances/25.json new file mode 100644 index 0000000..197fecc --- /dev/null +++ b/.temp_to_pub/EasySpider_windows_x64/execution_instances/25.json @@ -0,0 +1 @@ +{"id":25,"name":"中国地震台网——历史查询","url":"http://www.ceic.ac.cn/history","links":"http://www.ceic.ac.cn/history","create_time":"6/20/2023, 2:49:50 PM","version":"0.3.2","containJudge":false,"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":"11","value":"11"},{"id":2,"name":"loopTimes_循环_2","nodeId":4,"nodeName":"循环","desc":"循环循环执行的次数(0代表无限循环)","type":"int","exampleValue":0,"value":0}],"outputParameters":[{"id":0,"name":"参数1_文本","desc":"","type":"string","exampleValue":"3.6"},{"id":1,"name":"参数2_文本","desc":"","type":"string","exampleValue":"2023-06-1308:48:30"},{"id":2,"name":"参数3_文本","desc":"","type":"string","exampleValue":"40.18"},{"id":3,"name":"参数4_文本","desc":"","type":"string","exampleValue":"83.80"},{"id":4,"name":"参数5_文本","desc":"","type":"string","exampleValue":"18"},{"id":5,"name":"参数6_链接文本","desc":"","type":"string","exampleValue":"新疆阿克苏地区沙雅县"},{"id":6,"name":"参数7_链接地址","desc":"","type":"string","exampleValue":"https://news.ceic.ac.cn/CD20230613084830.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":1,"scrollWaitTime":1}},{"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":"11","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":2,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"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,5],"isInLoop":false,"position":3,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"pagination\")]/ul[1]/li[last()-1]/a[1]","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[1]/div[3]/div[1]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/ul[1]/li[10]/a[1]","//a[contains(., '»')]"]}},{"id":6,"index":5,"parentId":4,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":4,"tabIndex":-1,"useLoop":true,"xpath":"//*[contains(@class, \"pagination\")]/ul[1]/li[10]/a[1]","wait":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[1]/div[3]/div[1]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/ul[1]/li[10]/a[1]","//a[contains(., '»')]"],"loopType":0}},{"id":5,"index":6,"parentId":4,"type":1,"option":8,"title":"循环","sequence":[7],"isInLoop":true,"position":0,"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":1,"scrollWaitTime":1,"loopType":1,"pathList":"","textList":"","code":"","waitTime":0,"exitCount":0,"historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"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":7,"index":7,"parentId":5,"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.6')]"],"exampleValues":[{"num":0,"value":"3.6"},{"num":2,"value":"3.7"},{"num":3,"value":"3.3"},{"num":4,"value":"4.3"},{"num":5,"value":"3.6"},{"num":6,"value":"6.2"},{"num":7,"value":"3.8"},{"num":8,"value":"3.3"},{"num":9,"value":"4.2"},{"num":10,"value":"4.7"},{"num":11,"value":"3.2"},{"num":12,"value":"3.1"},{"num":13,"value":"3.1"},{"num":14,"value":"3.2"},{"num":15,"value":"2.9"},{"num":16,"value":"3.8"},{"num":17,"value":"5.3"},{"num":18,"value":"5.9"},{"num":19,"value":"3.6"},{"num":20,"value":"5.7"}],"unique_index":"/td[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数2_文本","desc":"","relativeXPath":"/td[2]","allXPaths":["/td[2]","//td[contains(., '2023-06-13')]"],"exampleValues":[{"num":0,"value":"2023-06-1308:48:30"},{"num":2,"value":"2023-06-1305:52:59"},{"num":3,"value":"2023-06-1200:04:18"},{"num":4,"value":"2023-06-1120:25:38"},{"num":5,"value":"2023-06-1119:29:45"},{"num":6,"value":"2023-06-1117:54:45"},{"num":7,"value":"2023-06-1117:40:14"},{"num":8,"value":"2023-06-1100:12:51"},{"num":9,"value":"2023-06-1017:12:34"},{"num":10,"value":"2023-06-1013:31:54"},{"num":11,"value":"2023-06-1010:52:29"},{"num":12,"value":"2023-06-0820:25:13"},{"num":13,"value":"2023-06-0807:58:54"},{"num":14,"value":"2023-06-0801:07:54"},{"num":15,"value":"2023-06-0604:22:39"},{"num":16,"value":"2023-06-0504:39:09"},{"num":17,"value":"2023-06-0321:58:02"},{"num":18,"value":"2023-06-0315:17:45"},{"num":19,"value":"2023-06-0200:00:13"},{"num":20,"value":"2023-05-3119:20:15"}],"unique_index":"/td[2]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数3_文本","desc":"","relativeXPath":"/td[3]","allXPaths":["/td[3]","//td[contains(., '40.18')]"],"exampleValues":[{"num":0,"value":"40.18"},{"num":2,"value":"33.10"},{"num":3,"value":"43.38"},{"num":4,"value":"24.26"},{"num":5,"value":"48.74"},{"num":6,"value":"42.50"},{"num":7,"value":"40.79"},{"num":8,"value":"35.84"},{"num":9,"value":"22.85"},{"num":10,"value":"22.88"},{"num":11,"value":"31.73"},{"num":12,"value":"32.20"},{"num":13,"value":"28.34"},{"num":14,"value":"43.63"},{"num":15,"value":"35.12"},{"num":16,"value":"38.29"},{"num":17,"value":"12.45"},{"num":18,"value":"12.65"},{"num":19,"value":"40.80"},{"num":20,"value":"25.05"}],"unique_index":"/td[3]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数4_文本","desc":"","relativeXPath":"/td[4]","allXPaths":["/td[4]","//td[contains(., '83.80')]"],"exampleValues":[{"num":0,"value":"83.80"},{"num":2,"value":"86.73"},{"num":3,"value":"88.98"},{"num":4,"value":"122.47"},{"num":5,"value":"129.79"},{"num":6,"value":"142.00"},{"num":7,"value":"82.63"},{"num":8,"value":"79.77"},{"num":9,"value":"120.60"},{"num":10,"value":"120.65"},{"num":11,"value":"104.08"},{"num":12,"value":"88.89"},{"num":13,"value":"104.56"},{"num":14,"value":"85.99"},{"num":15,"value":"110.25"},{"num":16,"value":"93.84"},{"num":17,"value":"48.15"},{"num":18,"value":"47.90"},{"num":19,"value":"79.21"},{"num":20,"value":"96.40"}],"unique_index":"/td[4]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数5_文本","desc":"","relativeXPath":"/td[5]","allXPaths":["/td[5]","//td[contains(., '18')]"],"exampleValues":[{"num":0,"value":"18"},{"num":2,"value":"10"},{"num":3,"value":"19"},{"num":4,"value":"27"},{"num":5,"value":"17"},{"num":6,"value":"130"},{"num":7,"value":"20"},{"num":8,"value":"10"},{"num":9,"value":"19"},{"num":10,"value":"14"},{"num":11,"value":"18"},{"num":12,"value":"15"},{"num":13,"value":"10"},{"num":14,"value":"15"},{"num":15,"value":"25"},{"num":16,"value":"10"},{"num":17,"value":"10"},{"num":18,"value":"10"},{"num":19,"value":"13"},{"num":20,"value":"10"}],"unique_index":"/td[5]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":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":"缅甸"}],"unique_index":"/td[6]/a[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":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/CD20230613084830.html"},{"num":2,"value":"https://news.ceic.ac.cn/CC20230613055259.html"},{"num":3,"value":"https://news.ceic.ac.cn/CD20230612000419.html"},{"num":4,"value":"https://news.ceic.ac.cn/CD20230611202539.html"},{"num":5,"value":"https://news.ceic.ac.cn/CD20230611192945.html"},{"num":6,"value":"https://news.ceic.ac.cn/CC20230611175446.html"},{"num":7,"value":"https://news.ceic.ac.cn/CD20230611174015.html"},{"num":8,"value":"https://news.ceic.ac.cn/CD20230611001251.html"},{"num":9,"value":"https://news.ceic.ac.cn/CD20230610171234.html"},{"num":10,"value":"https://news.ceic.ac.cn/CC20230610133154.html"},{"num":11,"value":"https://news.ceic.ac.cn/CD20230610105230.html"},{"num":12,"value":"https://news.ceic.ac.cn/CD20230608202514.html"},{"num":13,"value":"https://news.ceic.ac.cn/CD20230608075855.html"},{"num":14,"value":"https://news.ceic.ac.cn/CD20230608010754.html"},{"num":15,"value":"https://news.ceic.ac.cn/CD20230606042239.html"},{"num":16,"value":"https://news.ceic.ac.cn/CD20230605043910.html"},{"num":17,"value":"https://news.ceic.ac.cn/CC20230603215802.html"},{"num":18,"value":"https://news.ceic.ac.cn/CC20230603151746.html"},{"num":19,"value":"https://news.ceic.ac.cn/CD20230602000013.html"},{"num":20,"value":"https://news.ceic.ac.cn/CC20230531192015.html"}],"unique_index":"/td[6]/a[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数8_文本","desc":"","relativeXPath":"/th[1]","allXPaths":["/th[1]","//th[contains(., '震级(M)')]"],"exampleValues":[{"num":1,"value":"震级(M)"}],"unique_index":"/th[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":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)"}],"unique_index":"/th[2]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数10_文本","desc":"","relativeXPath":"/th[3]","allXPaths":["/th[3]","//th[contains(., '纬度(°)')]"],"exampleValues":[{"num":1,"value":"纬度(°)"}],"unique_index":"/th[3]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数11_文本","desc":"","relativeXPath":"/th[4]","allXPaths":["/th[4]","//th[contains(., '经度(°)')]"],"exampleValues":[{"num":1,"value":"经度(°)"}],"unique_index":"/th[4]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数12_文本","desc":"","relativeXPath":"/th[5]","allXPaths":["/th[5]","//th[contains(., '深度(千米)')]"],"exampleValues":[{"num":1,"value":"深度(千米)"}],"unique_index":"/th[5]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数13_文本","desc":"","relativeXPath":"/th[6]","allXPaths":["/th[6]","//th[contains(., '参考位置')]"],"exampleValues":[{"num":1,"value":"参考位置"}],"unique_index":"/th[6]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}],"loopType":1}}]} \ No newline at end of file diff --git a/.temp_to_pub/EasySpider_windows_x64/execution_instances/26.json b/.temp_to_pub/EasySpider_windows_x64/execution_instances/26.json new file mode 100644 index 0000000..6d37395 --- /dev/null +++ b/.temp_to_pub/EasySpider_windows_x64/execution_instances/26.json @@ -0,0 +1 @@ +{"id":26,"name":"中国地震台网——历史查询","url":"http://www.ceic.ac.cn/history","links":"http://www.ceic.ac.cn/history","create_time":"6/20/2023, 2:49:50 PM","version":"0.3.2","containJudge":false,"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":"11","value":"11"},{"id":2,"name":"loopTimes_循环_2","nodeId":4,"nodeName":"循环","desc":"循环循环执行的次数(0代表无限循环)","type":"int","exampleValue":0,"value":0}],"outputParameters":[{"id":0,"name":"参数1_文本","desc":"","type":"string","exampleValue":"3.6"},{"id":1,"name":"参数2_文本","desc":"","type":"string","exampleValue":"2023-06-1308:48:30"},{"id":2,"name":"参数3_文本","desc":"","type":"string","exampleValue":"40.18"},{"id":3,"name":"参数4_文本","desc":"","type":"string","exampleValue":"83.80"},{"id":4,"name":"参数5_文本","desc":"","type":"string","exampleValue":"18"},{"id":5,"name":"参数6_链接文本","desc":"","type":"string","exampleValue":"新疆阿克苏地区沙雅县"},{"id":6,"name":"参数7_链接地址","desc":"","type":"string","exampleValue":"https://news.ceic.ac.cn/CD20230613084830.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":1,"scrollWaitTime":1}},{"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":"11","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":2,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"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,5],"isInLoop":false,"position":3,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"pagination\")]/ul[1]/li[last()-1]/a[1]","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[1]/div[3]/div[1]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/ul[1]/li[10]/a[1]","//a[contains(., '»')]"]}},{"id":6,"index":5,"parentId":4,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":4,"tabIndex":-1,"useLoop":true,"xpath":"//*[contains(@class, \"pagination\")]/ul[1]/li[10]/a[1]","wait":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[1]/div[3]/div[1]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/ul[1]/li[10]/a[1]","//a[contains(., '»')]"],"loopType":0}},{"id":5,"index":6,"parentId":4,"type":1,"option":8,"title":"循环","sequence":[7],"isInLoop":true,"position":0,"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":1,"scrollWaitTime":1,"loopType":1,"pathList":"","textList":"","code":"","waitTime":0,"exitCount":0,"historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"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":7,"index":7,"parentId":5,"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.6')]"],"exampleValues":[{"num":0,"value":"3.6"},{"num":2,"value":"3.7"},{"num":3,"value":"3.3"},{"num":4,"value":"4.3"},{"num":5,"value":"3.6"},{"num":6,"value":"6.2"},{"num":7,"value":"3.8"},{"num":8,"value":"3.3"},{"num":9,"value":"4.2"},{"num":10,"value":"4.7"},{"num":11,"value":"3.2"},{"num":12,"value":"3.1"},{"num":13,"value":"3.1"},{"num":14,"value":"3.2"},{"num":15,"value":"2.9"},{"num":16,"value":"3.8"},{"num":17,"value":"5.3"},{"num":18,"value":"5.9"},{"num":19,"value":"3.6"},{"num":20,"value":"5.7"}],"unique_index":"/td[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数2_文本","desc":"","relativeXPath":"/td[2]","allXPaths":["/td[2]","//td[contains(., '2023-06-13')]"],"exampleValues":[{"num":0,"value":"2023-06-1308:48:30"},{"num":2,"value":"2023-06-1305:52:59"},{"num":3,"value":"2023-06-1200:04:18"},{"num":4,"value":"2023-06-1120:25:38"},{"num":5,"value":"2023-06-1119:29:45"},{"num":6,"value":"2023-06-1117:54:45"},{"num":7,"value":"2023-06-1117:40:14"},{"num":8,"value":"2023-06-1100:12:51"},{"num":9,"value":"2023-06-1017:12:34"},{"num":10,"value":"2023-06-1013:31:54"},{"num":11,"value":"2023-06-1010:52:29"},{"num":12,"value":"2023-06-0820:25:13"},{"num":13,"value":"2023-06-0807:58:54"},{"num":14,"value":"2023-06-0801:07:54"},{"num":15,"value":"2023-06-0604:22:39"},{"num":16,"value":"2023-06-0504:39:09"},{"num":17,"value":"2023-06-0321:58:02"},{"num":18,"value":"2023-06-0315:17:45"},{"num":19,"value":"2023-06-0200:00:13"},{"num":20,"value":"2023-05-3119:20:15"}],"unique_index":"/td[2]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数3_文本","desc":"","relativeXPath":"/td[3]","allXPaths":["/td[3]","//td[contains(., '40.18')]"],"exampleValues":[{"num":0,"value":"40.18"},{"num":2,"value":"33.10"},{"num":3,"value":"43.38"},{"num":4,"value":"24.26"},{"num":5,"value":"48.74"},{"num":6,"value":"42.50"},{"num":7,"value":"40.79"},{"num":8,"value":"35.84"},{"num":9,"value":"22.85"},{"num":10,"value":"22.88"},{"num":11,"value":"31.73"},{"num":12,"value":"32.20"},{"num":13,"value":"28.34"},{"num":14,"value":"43.63"},{"num":15,"value":"35.12"},{"num":16,"value":"38.29"},{"num":17,"value":"12.45"},{"num":18,"value":"12.65"},{"num":19,"value":"40.80"},{"num":20,"value":"25.05"}],"unique_index":"/td[3]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数4_文本","desc":"","relativeXPath":"/td[4]","allXPaths":["/td[4]","//td[contains(., '83.80')]"],"exampleValues":[{"num":0,"value":"83.80"},{"num":2,"value":"86.73"},{"num":3,"value":"88.98"},{"num":4,"value":"122.47"},{"num":5,"value":"129.79"},{"num":6,"value":"142.00"},{"num":7,"value":"82.63"},{"num":8,"value":"79.77"},{"num":9,"value":"120.60"},{"num":10,"value":"120.65"},{"num":11,"value":"104.08"},{"num":12,"value":"88.89"},{"num":13,"value":"104.56"},{"num":14,"value":"85.99"},{"num":15,"value":"110.25"},{"num":16,"value":"93.84"},{"num":17,"value":"48.15"},{"num":18,"value":"47.90"},{"num":19,"value":"79.21"},{"num":20,"value":"96.40"}],"unique_index":"/td[4]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数5_文本","desc":"","relativeXPath":"/td[5]","allXPaths":["/td[5]","//td[contains(., '18')]"],"exampleValues":[{"num":0,"value":"18"},{"num":2,"value":"10"},{"num":3,"value":"19"},{"num":4,"value":"27"},{"num":5,"value":"17"},{"num":6,"value":"130"},{"num":7,"value":"20"},{"num":8,"value":"10"},{"num":9,"value":"19"},{"num":10,"value":"14"},{"num":11,"value":"18"},{"num":12,"value":"15"},{"num":13,"value":"10"},{"num":14,"value":"15"},{"num":15,"value":"25"},{"num":16,"value":"10"},{"num":17,"value":"10"},{"num":18,"value":"10"},{"num":19,"value":"13"},{"num":20,"value":"10"}],"unique_index":"/td[5]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":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":"缅甸"}],"unique_index":"/td[6]/a[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":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/CD20230613084830.html"},{"num":2,"value":"https://news.ceic.ac.cn/CC20230613055259.html"},{"num":3,"value":"https://news.ceic.ac.cn/CD20230612000419.html"},{"num":4,"value":"https://news.ceic.ac.cn/CD20230611202539.html"},{"num":5,"value":"https://news.ceic.ac.cn/CD20230611192945.html"},{"num":6,"value":"https://news.ceic.ac.cn/CC20230611175446.html"},{"num":7,"value":"https://news.ceic.ac.cn/CD20230611174015.html"},{"num":8,"value":"https://news.ceic.ac.cn/CD20230611001251.html"},{"num":9,"value":"https://news.ceic.ac.cn/CD20230610171234.html"},{"num":10,"value":"https://news.ceic.ac.cn/CC20230610133154.html"},{"num":11,"value":"https://news.ceic.ac.cn/CD20230610105230.html"},{"num":12,"value":"https://news.ceic.ac.cn/CD20230608202514.html"},{"num":13,"value":"https://news.ceic.ac.cn/CD20230608075855.html"},{"num":14,"value":"https://news.ceic.ac.cn/CD20230608010754.html"},{"num":15,"value":"https://news.ceic.ac.cn/CD20230606042239.html"},{"num":16,"value":"https://news.ceic.ac.cn/CD20230605043910.html"},{"num":17,"value":"https://news.ceic.ac.cn/CC20230603215802.html"},{"num":18,"value":"https://news.ceic.ac.cn/CC20230603151746.html"},{"num":19,"value":"https://news.ceic.ac.cn/CD20230602000013.html"},{"num":20,"value":"https://news.ceic.ac.cn/CC20230531192015.html"}],"unique_index":"/td[6]/a[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数8_文本","desc":"","relativeXPath":"/th[1]","allXPaths":["/th[1]","//th[contains(., '震级(M)')]"],"exampleValues":[{"num":1,"value":"震级(M)"}],"unique_index":"/th[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":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)"}],"unique_index":"/th[2]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数10_文本","desc":"","relativeXPath":"/th[3]","allXPaths":["/th[3]","//th[contains(., '纬度(°)')]"],"exampleValues":[{"num":1,"value":"纬度(°)"}],"unique_index":"/th[3]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数11_文本","desc":"","relativeXPath":"/th[4]","allXPaths":["/th[4]","//th[contains(., '经度(°)')]"],"exampleValues":[{"num":1,"value":"经度(°)"}],"unique_index":"/th[4]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数12_文本","desc":"","relativeXPath":"/th[5]","allXPaths":["/th[5]","//th[contains(., '深度(千米)')]"],"exampleValues":[{"num":1,"value":"深度(千米)"}],"unique_index":"/th[5]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数13_文本","desc":"","relativeXPath":"/th[6]","allXPaths":["/th[6]","//th[contains(., '参考位置')]"],"exampleValues":[{"num":1,"value":"参考位置"}],"unique_index":"/th[6]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}],"loopType":1}}]} \ No newline at end of file diff --git a/.temp_to_pub/EasySpider_windows_x64/execution_instances/27.json b/.temp_to_pub/EasySpider_windows_x64/execution_instances/27.json new file mode 100644 index 0000000..db5884c --- /dev/null +++ b/.temp_to_pub/EasySpider_windows_x64/execution_instances/27.json @@ -0,0 +1 @@ +{"id":27,"name":"中国地震台网——历史查询","url":"http://www.ceic.ac.cn/history","links":"http://www.ceic.ac.cn/history","create_time":"6/20/2023, 2:49:50 PM","version":"0.3.2","containJudge":false,"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":"11","value":"11"},{"id":2,"name":"loopTimes_循环_2","nodeId":4,"nodeName":"循环","desc":"循环循环执行的次数(0代表无限循环)","type":"int","exampleValue":0,"value":0}],"outputParameters":[{"id":0,"name":"参数1_文本","desc":"","type":"string","exampleValue":"3.6"},{"id":1,"name":"参数2_文本","desc":"","type":"string","exampleValue":"2023-06-1308:48:30"},{"id":2,"name":"参数3_文本","desc":"","type":"string","exampleValue":"40.18"},{"id":3,"name":"参数4_文本","desc":"","type":"string","exampleValue":"83.80"},{"id":4,"name":"参数5_文本","desc":"","type":"string","exampleValue":"18"},{"id":5,"name":"参数6_链接文本","desc":"","type":"string","exampleValue":"新疆阿克苏地区沙雅县"},{"id":6,"name":"参数7_链接地址","desc":"","type":"string","exampleValue":"https://news.ceic.ac.cn/CD20230613084830.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":1,"scrollWaitTime":1}},{"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":"11","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":2,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"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,5],"isInLoop":false,"position":3,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"pagination\")]/ul[1]/li[last()-1]/a[1]","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[1]/div[3]/div[1]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/ul[1]/li[10]/a[1]","//a[contains(., '»')]"]}},{"id":6,"index":5,"parentId":4,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":4,"tabIndex":-1,"useLoop":true,"xpath":"//*[contains(@class, \"pagination\")]/ul[1]/li[10]/a[1]","wait":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[1]/div[3]/div[1]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/ul[1]/li[10]/a[1]","//a[contains(., '»')]"],"loopType":0}},{"id":5,"index":6,"parentId":4,"type":1,"option":8,"title":"循环","sequence":[7],"isInLoop":true,"position":0,"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":1,"scrollWaitTime":1,"loopType":1,"pathList":"","textList":"","code":"","waitTime":0,"exitCount":0,"historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"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":7,"index":7,"parentId":5,"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.6')]"],"exampleValues":[{"num":0,"value":"3.6"},{"num":2,"value":"3.7"},{"num":3,"value":"3.3"},{"num":4,"value":"4.3"},{"num":5,"value":"3.6"},{"num":6,"value":"6.2"},{"num":7,"value":"3.8"},{"num":8,"value":"3.3"},{"num":9,"value":"4.2"},{"num":10,"value":"4.7"},{"num":11,"value":"3.2"},{"num":12,"value":"3.1"},{"num":13,"value":"3.1"},{"num":14,"value":"3.2"},{"num":15,"value":"2.9"},{"num":16,"value":"3.8"},{"num":17,"value":"5.3"},{"num":18,"value":"5.9"},{"num":19,"value":"3.6"},{"num":20,"value":"5.7"}],"unique_index":"/td[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数2_文本","desc":"","relativeXPath":"/td[2]","allXPaths":["/td[2]","//td[contains(., '2023-06-13')]"],"exampleValues":[{"num":0,"value":"2023-06-1308:48:30"},{"num":2,"value":"2023-06-1305:52:59"},{"num":3,"value":"2023-06-1200:04:18"},{"num":4,"value":"2023-06-1120:25:38"},{"num":5,"value":"2023-06-1119:29:45"},{"num":6,"value":"2023-06-1117:54:45"},{"num":7,"value":"2023-06-1117:40:14"},{"num":8,"value":"2023-06-1100:12:51"},{"num":9,"value":"2023-06-1017:12:34"},{"num":10,"value":"2023-06-1013:31:54"},{"num":11,"value":"2023-06-1010:52:29"},{"num":12,"value":"2023-06-0820:25:13"},{"num":13,"value":"2023-06-0807:58:54"},{"num":14,"value":"2023-06-0801:07:54"},{"num":15,"value":"2023-06-0604:22:39"},{"num":16,"value":"2023-06-0504:39:09"},{"num":17,"value":"2023-06-0321:58:02"},{"num":18,"value":"2023-06-0315:17:45"},{"num":19,"value":"2023-06-0200:00:13"},{"num":20,"value":"2023-05-3119:20:15"}],"unique_index":"/td[2]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数3_文本","desc":"","relativeXPath":"/td[3]","allXPaths":["/td[3]","//td[contains(., '40.18')]"],"exampleValues":[{"num":0,"value":"40.18"},{"num":2,"value":"33.10"},{"num":3,"value":"43.38"},{"num":4,"value":"24.26"},{"num":5,"value":"48.74"},{"num":6,"value":"42.50"},{"num":7,"value":"40.79"},{"num":8,"value":"35.84"},{"num":9,"value":"22.85"},{"num":10,"value":"22.88"},{"num":11,"value":"31.73"},{"num":12,"value":"32.20"},{"num":13,"value":"28.34"},{"num":14,"value":"43.63"},{"num":15,"value":"35.12"},{"num":16,"value":"38.29"},{"num":17,"value":"12.45"},{"num":18,"value":"12.65"},{"num":19,"value":"40.80"},{"num":20,"value":"25.05"}],"unique_index":"/td[3]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数4_文本","desc":"","relativeXPath":"/td[4]","allXPaths":["/td[4]","//td[contains(., '83.80')]"],"exampleValues":[{"num":0,"value":"83.80"},{"num":2,"value":"86.73"},{"num":3,"value":"88.98"},{"num":4,"value":"122.47"},{"num":5,"value":"129.79"},{"num":6,"value":"142.00"},{"num":7,"value":"82.63"},{"num":8,"value":"79.77"},{"num":9,"value":"120.60"},{"num":10,"value":"120.65"},{"num":11,"value":"104.08"},{"num":12,"value":"88.89"},{"num":13,"value":"104.56"},{"num":14,"value":"85.99"},{"num":15,"value":"110.25"},{"num":16,"value":"93.84"},{"num":17,"value":"48.15"},{"num":18,"value":"47.90"},{"num":19,"value":"79.21"},{"num":20,"value":"96.40"}],"unique_index":"/td[4]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数5_文本","desc":"","relativeXPath":"/td[5]","allXPaths":["/td[5]","//td[contains(., '18')]"],"exampleValues":[{"num":0,"value":"18"},{"num":2,"value":"10"},{"num":3,"value":"19"},{"num":4,"value":"27"},{"num":5,"value":"17"},{"num":6,"value":"130"},{"num":7,"value":"20"},{"num":8,"value":"10"},{"num":9,"value":"19"},{"num":10,"value":"14"},{"num":11,"value":"18"},{"num":12,"value":"15"},{"num":13,"value":"10"},{"num":14,"value":"15"},{"num":15,"value":"25"},{"num":16,"value":"10"},{"num":17,"value":"10"},{"num":18,"value":"10"},{"num":19,"value":"13"},{"num":20,"value":"10"}],"unique_index":"/td[5]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":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":"缅甸"}],"unique_index":"/td[6]/a[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":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/CD20230613084830.html"},{"num":2,"value":"https://news.ceic.ac.cn/CC20230613055259.html"},{"num":3,"value":"https://news.ceic.ac.cn/CD20230612000419.html"},{"num":4,"value":"https://news.ceic.ac.cn/CD20230611202539.html"},{"num":5,"value":"https://news.ceic.ac.cn/CD20230611192945.html"},{"num":6,"value":"https://news.ceic.ac.cn/CC20230611175446.html"},{"num":7,"value":"https://news.ceic.ac.cn/CD20230611174015.html"},{"num":8,"value":"https://news.ceic.ac.cn/CD20230611001251.html"},{"num":9,"value":"https://news.ceic.ac.cn/CD20230610171234.html"},{"num":10,"value":"https://news.ceic.ac.cn/CC20230610133154.html"},{"num":11,"value":"https://news.ceic.ac.cn/CD20230610105230.html"},{"num":12,"value":"https://news.ceic.ac.cn/CD20230608202514.html"},{"num":13,"value":"https://news.ceic.ac.cn/CD20230608075855.html"},{"num":14,"value":"https://news.ceic.ac.cn/CD20230608010754.html"},{"num":15,"value":"https://news.ceic.ac.cn/CD20230606042239.html"},{"num":16,"value":"https://news.ceic.ac.cn/CD20230605043910.html"},{"num":17,"value":"https://news.ceic.ac.cn/CC20230603215802.html"},{"num":18,"value":"https://news.ceic.ac.cn/CC20230603151746.html"},{"num":19,"value":"https://news.ceic.ac.cn/CD20230602000013.html"},{"num":20,"value":"https://news.ceic.ac.cn/CC20230531192015.html"}],"unique_index":"/td[6]/a[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数8_文本","desc":"","relativeXPath":"/th[1]","allXPaths":["/th[1]","//th[contains(., '震级(M)')]"],"exampleValues":[{"num":1,"value":"震级(M)"}],"unique_index":"/th[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":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)"}],"unique_index":"/th[2]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数10_文本","desc":"","relativeXPath":"/th[3]","allXPaths":["/th[3]","//th[contains(., '纬度(°)')]"],"exampleValues":[{"num":1,"value":"纬度(°)"}],"unique_index":"/th[3]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数11_文本","desc":"","relativeXPath":"/th[4]","allXPaths":["/th[4]","//th[contains(., '经度(°)')]"],"exampleValues":[{"num":1,"value":"经度(°)"}],"unique_index":"/th[4]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数12_文本","desc":"","relativeXPath":"/th[5]","allXPaths":["/th[5]","//th[contains(., '深度(千米)')]"],"exampleValues":[{"num":1,"value":"深度(千米)"}],"unique_index":"/th[5]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数13_文本","desc":"","relativeXPath":"/th[6]","allXPaths":["/th[6]","//th[contains(., '参考位置')]"],"exampleValues":[{"num":1,"value":"参考位置"}],"unique_index":"/th[6]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}],"loopType":1}}]} \ No newline at end of file diff --git a/.temp_to_pub/EasySpider_windows_x64/tasks/40.json b/.temp_to_pub/EasySpider_windows_x64/tasks/40.json new file mode 100644 index 0000000..b4e56a1 --- /dev/null +++ b/.temp_to_pub/EasySpider_windows_x64/tasks/40.json @@ -0,0 +1 @@ +{"id":40,"name":"中国地震台网——历史查询","url":"http://www.ceic.ac.cn/history","links":"http://www.ceic.ac.cn/history","create_time":"6/20/2023, 2:49:50 PM","version":"0.3.2","containJudge":false,"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":"11","value":"11"},{"id":2,"name":"loopTimes_循环_2","nodeId":4,"nodeName":"循环","desc":"循环循环执行的次数(0代表无限循环)","type":"int","exampleValue":0,"value":0}],"outputParameters":[{"id":0,"name":"参数1_文本","desc":"","type":"string","exampleValue":"3.6"},{"id":1,"name":"参数2_文本","desc":"","type":"string","exampleValue":"2023-06-1308:48:30"},{"id":2,"name":"参数3_文本","desc":"","type":"string","exampleValue":"40.18"},{"id":3,"name":"参数4_文本","desc":"","type":"string","exampleValue":"83.80"},{"id":4,"name":"参数5_文本","desc":"","type":"string","exampleValue":"18"},{"id":5,"name":"参数6_链接文本","desc":"","type":"string","exampleValue":"新疆阿克苏地区沙雅县"},{"id":6,"name":"参数7_链接地址","desc":"","type":"string","exampleValue":"https://news.ceic.ac.cn/CD20230613084830.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":1,"scrollWaitTime":1}},{"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":"11","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":2,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"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,5],"isInLoop":false,"position":3,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"pagination\")]/ul[1]/li[last()-1]/a[1]","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[1]/div[3]/div[1]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/ul[1]/li[10]/a[1]","//a[contains(., '»')]"]}},{"id":6,"index":5,"parentId":4,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":4,"tabIndex":-1,"useLoop":true,"xpath":"//*[contains(@class, \"pagination\")]/ul[1]/li[10]/a[1]","wait":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[1]/div[3]/div[1]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/ul[1]/li[10]/a[1]","//a[contains(., '»')]"],"loopType":0}},{"id":5,"index":6,"parentId":4,"type":1,"option":8,"title":"循环","sequence":[7],"isInLoop":true,"position":0,"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":1,"scrollWaitTime":1,"loopType":1,"pathList":"","textList":"","code":"","waitTime":0,"exitCount":0,"historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"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":7,"index":7,"parentId":5,"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.6')]"],"exampleValues":[{"num":0,"value":"3.6"},{"num":2,"value":"3.7"},{"num":3,"value":"3.3"},{"num":4,"value":"4.3"},{"num":5,"value":"3.6"},{"num":6,"value":"6.2"},{"num":7,"value":"3.8"},{"num":8,"value":"3.3"},{"num":9,"value":"4.2"},{"num":10,"value":"4.7"},{"num":11,"value":"3.2"},{"num":12,"value":"3.1"},{"num":13,"value":"3.1"},{"num":14,"value":"3.2"},{"num":15,"value":"2.9"},{"num":16,"value":"3.8"},{"num":17,"value":"5.3"},{"num":18,"value":"5.9"},{"num":19,"value":"3.6"},{"num":20,"value":"5.7"}],"unique_index":"/td[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数2_文本","desc":"","relativeXPath":"/td[2]","allXPaths":["/td[2]","//td[contains(., '2023-06-13')]"],"exampleValues":[{"num":0,"value":"2023-06-1308:48:30"},{"num":2,"value":"2023-06-1305:52:59"},{"num":3,"value":"2023-06-1200:04:18"},{"num":4,"value":"2023-06-1120:25:38"},{"num":5,"value":"2023-06-1119:29:45"},{"num":6,"value":"2023-06-1117:54:45"},{"num":7,"value":"2023-06-1117:40:14"},{"num":8,"value":"2023-06-1100:12:51"},{"num":9,"value":"2023-06-1017:12:34"},{"num":10,"value":"2023-06-1013:31:54"},{"num":11,"value":"2023-06-1010:52:29"},{"num":12,"value":"2023-06-0820:25:13"},{"num":13,"value":"2023-06-0807:58:54"},{"num":14,"value":"2023-06-0801:07:54"},{"num":15,"value":"2023-06-0604:22:39"},{"num":16,"value":"2023-06-0504:39:09"},{"num":17,"value":"2023-06-0321:58:02"},{"num":18,"value":"2023-06-0315:17:45"},{"num":19,"value":"2023-06-0200:00:13"},{"num":20,"value":"2023-05-3119:20:15"}],"unique_index":"/td[2]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数3_文本","desc":"","relativeXPath":"/td[3]","allXPaths":["/td[3]","//td[contains(., '40.18')]"],"exampleValues":[{"num":0,"value":"40.18"},{"num":2,"value":"33.10"},{"num":3,"value":"43.38"},{"num":4,"value":"24.26"},{"num":5,"value":"48.74"},{"num":6,"value":"42.50"},{"num":7,"value":"40.79"},{"num":8,"value":"35.84"},{"num":9,"value":"22.85"},{"num":10,"value":"22.88"},{"num":11,"value":"31.73"},{"num":12,"value":"32.20"},{"num":13,"value":"28.34"},{"num":14,"value":"43.63"},{"num":15,"value":"35.12"},{"num":16,"value":"38.29"},{"num":17,"value":"12.45"},{"num":18,"value":"12.65"},{"num":19,"value":"40.80"},{"num":20,"value":"25.05"}],"unique_index":"/td[3]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数4_文本","desc":"","relativeXPath":"/td[4]","allXPaths":["/td[4]","//td[contains(., '83.80')]"],"exampleValues":[{"num":0,"value":"83.80"},{"num":2,"value":"86.73"},{"num":3,"value":"88.98"},{"num":4,"value":"122.47"},{"num":5,"value":"129.79"},{"num":6,"value":"142.00"},{"num":7,"value":"82.63"},{"num":8,"value":"79.77"},{"num":9,"value":"120.60"},{"num":10,"value":"120.65"},{"num":11,"value":"104.08"},{"num":12,"value":"88.89"},{"num":13,"value":"104.56"},{"num":14,"value":"85.99"},{"num":15,"value":"110.25"},{"num":16,"value":"93.84"},{"num":17,"value":"48.15"},{"num":18,"value":"47.90"},{"num":19,"value":"79.21"},{"num":20,"value":"96.40"}],"unique_index":"/td[4]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数5_文本","desc":"","relativeXPath":"/td[5]","allXPaths":["/td[5]","//td[contains(., '18')]"],"exampleValues":[{"num":0,"value":"18"},{"num":2,"value":"10"},{"num":3,"value":"19"},{"num":4,"value":"27"},{"num":5,"value":"17"},{"num":6,"value":"130"},{"num":7,"value":"20"},{"num":8,"value":"10"},{"num":9,"value":"19"},{"num":10,"value":"14"},{"num":11,"value":"18"},{"num":12,"value":"15"},{"num":13,"value":"10"},{"num":14,"value":"15"},{"num":15,"value":"25"},{"num":16,"value":"10"},{"num":17,"value":"10"},{"num":18,"value":"10"},{"num":19,"value":"13"},{"num":20,"value":"10"}],"unique_index":"/td[5]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":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":"缅甸"}],"unique_index":"/td[6]/a[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":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/CD20230613084830.html"},{"num":2,"value":"https://news.ceic.ac.cn/CC20230613055259.html"},{"num":3,"value":"https://news.ceic.ac.cn/CD20230612000419.html"},{"num":4,"value":"https://news.ceic.ac.cn/CD20230611202539.html"},{"num":5,"value":"https://news.ceic.ac.cn/CD20230611192945.html"},{"num":6,"value":"https://news.ceic.ac.cn/CC20230611175446.html"},{"num":7,"value":"https://news.ceic.ac.cn/CD20230611174015.html"},{"num":8,"value":"https://news.ceic.ac.cn/CD20230611001251.html"},{"num":9,"value":"https://news.ceic.ac.cn/CD20230610171234.html"},{"num":10,"value":"https://news.ceic.ac.cn/CC20230610133154.html"},{"num":11,"value":"https://news.ceic.ac.cn/CD20230610105230.html"},{"num":12,"value":"https://news.ceic.ac.cn/CD20230608202514.html"},{"num":13,"value":"https://news.ceic.ac.cn/CD20230608075855.html"},{"num":14,"value":"https://news.ceic.ac.cn/CD20230608010754.html"},{"num":15,"value":"https://news.ceic.ac.cn/CD20230606042239.html"},{"num":16,"value":"https://news.ceic.ac.cn/CD20230605043910.html"},{"num":17,"value":"https://news.ceic.ac.cn/CC20230603215802.html"},{"num":18,"value":"https://news.ceic.ac.cn/CC20230603151746.html"},{"num":19,"value":"https://news.ceic.ac.cn/CD20230602000013.html"},{"num":20,"value":"https://news.ceic.ac.cn/CC20230531192015.html"}],"unique_index":"/td[6]/a[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数8_文本","desc":"","relativeXPath":"/th[1]","allXPaths":["/th[1]","//th[contains(., '震级(M)')]"],"exampleValues":[{"num":1,"value":"震级(M)"}],"unique_index":"/th[1]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":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)"}],"unique_index":"/th[2]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数10_文本","desc":"","relativeXPath":"/th[3]","allXPaths":["/th[3]","//th[contains(., '纬度(°)')]"],"exampleValues":[{"num":1,"value":"纬度(°)"}],"unique_index":"/th[3]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数11_文本","desc":"","relativeXPath":"/th[4]","allXPaths":["/th[4]","//th[contains(., '经度(°)')]"],"exampleValues":[{"num":1,"value":"经度(°)"}],"unique_index":"/th[4]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数12_文本","desc":"","relativeXPath":"/th[5]","allXPaths":["/th[5]","//th[contains(., '深度(千米)')]"],"exampleValues":[{"num":1,"value":"深度(千米)"}],"unique_index":"/th[5]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数13_文本","desc":"","relativeXPath":"/th[6]","allXPaths":["/th[6]","//th[contains(., '参考位置')]"],"exampleValues":[{"num":1,"value":"参考位置"}],"unique_index":"/th[6]","default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}],"loopType":1}}]} \ No newline at end of file diff --git a/ExecuteStage/easyspider_executestage.py b/ExecuteStage/easyspider_executestage.py index b26e153..d314519 100644 --- a/ExecuteStage/easyspider_executestage.py +++ b/ExecuteStage/easyspider_executestage.py @@ -916,7 +916,7 @@ class BrowserThread(Thread): # 提取数据事件 def getData(self, para, loopElement, isInLoop=True, parentPath="", index=0): - for p in para["paras"]: + for p in para["paras"]: # 加并行处理 content = "" if not (p["contentType"] == 5 or p["contentType"] == 6): # 如果不是页面标题或URL,去找元素 try: @@ -1075,7 +1075,10 @@ if __name__ == '__main__': option.add_experimental_option( 'excludeSwitches', ['enable-automation']) # 以开发者模式 - + options.add_argument('-ignore-certificate-errors') + options.add_argument('-ignore -ssl-errors') + option.add_argument('-ignore-certificate-errors') + option.add_argument('-ignore -ssl-errors') # user_data_dir = r'' # 注意没有Default! # options.add_argument('--user-data-dir='+p)