From d13cd29fac8cc9f80203d90b72aec0b05f9cd790 Mon Sep 17 00:00:00 2001 From: naibo Date: Fri, 15 Dec 2023 16:32:26 +0800 Subject: [PATCH] Change location of operation toolbox --- .../Code/easyspider_executestage.py | 22 +- .../EasySpider_windows_x64/tasks/115.json | 3060 +++++------------ .../EasySpider_windows_x64/tasks/205.json | 2 +- .../EasySpider_windows_x64/tasks/293.json | 1 + .../EasySpider_windows_x64/tasks/294.json | 1 + .../EasySpider_windows_x64/tasks/295.json | 1 + ElectronJS/EasySpider_en.crx | Bin 211370 -> 211370 bytes ElectronJS/EasySpider_zh.crx | Bin 211371 -> 211371 bytes ElectronJS/src/taskGrid/logic.js | 4 + ElectronJS/src/taskGrid/taskInfo.html | 2 +- ElectronJS/tasks/115.json | 3060 +++++------------ ElectronJS/tasks/205.json | 2 +- ExecuteStage/easyspider_executestage.py | 5 +- .../src/content-scripts/toolkit.vue | 10 +- 14 files changed, 1730 insertions(+), 4440 deletions(-) create mode 100644 .temp_to_pub/EasySpider_windows_x64/tasks/293.json create mode 100644 .temp_to_pub/EasySpider_windows_x64/tasks/294.json create mode 100644 .temp_to_pub/EasySpider_windows_x64/tasks/295.json diff --git a/.temp_to_pub/EasySpider_windows_x64/Code/easyspider_executestage.py b/.temp_to_pub/EasySpider_windows_x64/Code/easyspider_executestage.py index f98f9fc..1bb8b52 100644 --- a/.temp_to_pub/EasySpider_windows_x64/Code/easyspider_executestage.py +++ b/.temp_to_pub/EasySpider_windows_x64/Code/easyspider_executestage.py @@ -335,7 +335,10 @@ class BrowserThread(Thread): node["parameters"]["quickExtractable"] = False # 是否可以快速提取 # 如果(不)固定元素列表循环中只有一个提取数据操作,且提取数据操作的提取内容为元素截图,那么可以快速提取 if len(node["sequence"]) == 1 and self.procedure[node["sequence"][0]]["option"] == 3 and (int(node["parameters"]["loopType"]) == 1 or int(node["parameters"]["loopType"]) == 2): - params = self.procedure[node["sequence"][0]]["parameters"]["params"] + try: + params = self.procedure[node["sequence"][0]]["parameters"]["params"] + except: + params = self.procedure[node["sequence"][0]]["parameters"]["paras"] # 兼容0.5.0及以下版本的EasySpider try: waitElement = self.procedure[node["sequence"][0]]["parameters"]["waitElement"] except: @@ -1031,7 +1034,8 @@ class BrowserThread(Thread): ti = 0 # print("CURRENT URL:", self.browser.current_url) # time.sleep(2) - if self.browser.current_url.startswith("data:") or self.browser.current_url.startswith("chrome:"): + # if self.browser.current_url.startswith("data:") or self.browser.current_url.startswith("chrome:"): + if self.browser.current_url != thisHistoryURL and self.history["index"] != thisHistoryLength and self.history["handle"] == self.browser.current_window_handle: while self.browser.current_url != thisHistoryURL: # 如果执行完一次循环之后网址发生了变化 try: self.browser.execute_script("history.go(1)") # 如果是data:开头的网址,就前进一步 @@ -1045,8 +1049,8 @@ class BrowserThread(Thread): element = self.browser.find_elements(By.XPATH, xpath, iframe=node["parameters"]["iframe"]) else: # 固定元素列表 element = self.browser.find_element(By.XPATH, xpath, iframe=node["parameters"]["iframe"]) - if index > 0: - index -= 1 # 如果是data:开头的网址,就要重试一次 + # if index > 0: + # index -= 1 # 如果是data:开头的网址,就要重试一次 else: if element == None: element = elements @@ -1199,8 +1203,16 @@ class BrowserThread(Thread): self.print_and_log("找不到循环元素: ", xpath) index = 0 while index < len(elements): + try: + element = elements[index] + element_text = element.text + except StaleElementReferenceException: # 如果元素已经失效,重试 + self.print_and_log("元素已失效,重新获取元素|Element has expired, reacquiring element") + elements = self.browser.find_elements(By.XPATH, + xpath, iframe=node["parameters"]["iframe"]) + element = elements[index] for i in node["sequence"]: # 挨个顺序执行循环里所有的操作 - self.executeNode(i, elements[index], + self.executeNode(i, element, xpath, index) if self.BREAK or self.CONTINUE: # 如果有break操作,下面的操作不执行 self.CONTINUE = False diff --git a/.temp_to_pub/EasySpider_windows_x64/tasks/115.json b/.temp_to_pub/EasySpider_windows_x64/tasks/115.json index 64b21dd..fbbfd19 100644 --- a/.temp_to_pub/EasySpider_windows_x64/tasks/115.json +++ b/.temp_to_pub/EasySpider_windows_x64/tasks/115.json @@ -1,25 +1,49 @@ { "id": 115, - "name": "网易云音乐", - "url": "https://music.163.com/#/discover/toplist?id=71384707", - "links": "https://music.163.com/#/discover/toplist?id=71384707", - "create_time": "7/4/2023, 7:14:50 AM", + "name": "Dynamic Iframe", + "url": "http://localhost:8074/taskGrid/test_pages/iframe.html?address=http://www.ceic.ac.cn/history", + "links": "http://localhost:8074/taskGrid/test_pages/iframe.html?address=http://www.ceic.ac.cn/history", + "create_time": "7/8/2023, 8:43:14 AM", + "update_time": "7/15/2023, 8:05:33 AM", "version": "0.3.5", "saveThreshold": 10, "cloudflare": 0, "environment": 0, + "maxViewLength": 15, + "outputFormat": "xlsx", + "saveName": "地震Info", "containJudge": false, - "desc": "https://music.163.com/#/discover/toplist?id=71384707", + "desc": "http://localhost:8074/taskGrid/test_pages/iframe.html?address=http://www.ceic.ac.cn/history", "inputParameters": [ { "id": 0, "name": "urlList_0", "nodeId": 1, "nodeName": "打开网页", - "value": "https://music.163.com/#/discover/toplist?id=71384707", + "value": "http://localhost:8074/taskGrid/test_pages/iframe.html?address=http://www.ceic.ac.cn/history", "desc": "要采集的网址列表,多行以\\n分开", - "type": "string", - "exampleValue": "https://music.163.com/#/discover/toplist?id=71384707" + "type": "text", + "exampleValue": "http://localhost:8074/taskGrid/test_pages/iframe.html?address=http://www.ceic.ac.cn/history" + }, + { + "id": 1, + "name": "inputText_1", + "nodeName": "输入文字", + "nodeId": 3, + "desc": "要输入的文本,如京东搜索框输入:电脑", + "type": "text", + "exampleValue": "1", + "value": "1" + }, + { + "id": 2, + "name": "loopTimes_循环_2", + "nodeId": 5, + "nodeName": "循环", + "desc": "循环循环执行的次数(0代表无限循环)", + "type": "int", + "exampleValue": 0, + "value": 0 } ], "outputParameters": [ @@ -27,232 +51,105 @@ "id": 0, "name": "参数1_文本", "desc": "", - "type": "string", - "exampleValue": "Nocturne No. 2 in E Flat Major, Op. 9, No. 2" + "type": "double", + "recordASField": 1, + "exampleValue": "5.0" }, { "id": 1, "name": "参数2_文本", "desc": "", - "type": "string", - "exampleValue": "作曲 : Frédéric François Chopin纯音乐,请欣赏" + "type": "datetime", + "recordASField": 1, + "exampleValue": "2023-06-2912:58:00" }, { "id": 2, - "name": "参数3_链接文本", + "name": "参数3_文本", "desc": "", - "type": "string", - "exampleValue": "" + "type": "text", + "recordASField": 1, + "exampleValue": "37.10" }, { "id": 3, - "name": "参数4_链接地址", + "name": "参数4_文本", "desc": "", - "type": "string", - "exampleValue": "/user/home?id=6622403" + "type": "text", + "recordASField": 1, + "exampleValue": "71.85" }, { "id": 4, - "name": "参数5_图片地址", + "name": "参数5_文本", "desc": "", - "type": "string", - "exampleValue": "http://p2.music.126.net/XM9AGb0vN4OSKK4WeZM7aA==/109951165633941106.jpg?param=50y50" + "type": "int", + "recordASField": 1, + "exampleValue": "140" }, { "id": 5, - "name": "参数6_文本", + "name": "参数1_页面标题", "desc": "", - "type": "string", - "exampleValue": ":建议这种纯音乐,小编在歌词中做简介" + "type": "text", + "recordASField": 1, + "exampleValue": "塔吉克斯坦" }, { "id": 6, - "name": "参数7_链接文本", + "name": "参数7_链接地址", "desc": "", - "type": "string", - "exampleValue": "新鑫曼巴" + "type": "text", + "recordASField": 1, + "exampleValue": "https://news.ceic.ac.cn/CC20230629125800.html" }, { "id": 7, - "name": "参数8_链接地址", + "name": "参数8_文本", "desc": "", - "type": "string", - "exampleValue": "/user/home?id=6622403" + "type": "text", + "recordASField": 1, + "exampleValue": "震级(M)" }, { "id": 8, - "name": "参数9_图片地址", + "name": "参数9_文本", "desc": "", - "type": "string", - "exampleValue": "http://p5.music.126.net/obj/wovDmcKXw6PCn2_CmsOk/17941162599/305d/0dee/968a/22f0de72becf0485ecac1d6a5898825a.png" + "type": "text", + "recordASField": 1, + "exampleValue": "发震时刻(UTC+8)" }, { "id": 9, "name": "参数10_文本", "desc": "", - "type": "string", - "exampleValue": "2016年4月18日" + "type": "text", + "recordASField": 1, + "exampleValue": "纬度(°)" }, { "id": 10, - "name": "参数11_链接文本", + "name": "参数11_文本", "desc": "", - "type": "string", - "exampleValue": "删除" + "type": "text", + "recordASField": 1, + "exampleValue": "经度(°)" }, { "id": 11, - "name": "参数12_链接地址", + "name": "参数12_文本", "desc": "", - "type": "string", - "exampleValue": "javascript:void(0)" + "type": "text", + "recordASField": 1, + "exampleValue": "深度(千米)" }, { "id": 12, "name": "参数13_文本", "desc": "", - "type": "string", - "exampleValue": "|" - }, - { - "id": 13, - "name": "参数14_链接文本", - "desc": "", - "type": "string", - "exampleValue": " (29844)" - }, - { - "id": 14, - "name": "参数15_链接地址", - "desc": "", - "type": "string", - "exampleValue": "javascript:void(0)" - }, - { - "id": 15, - "name": "参数16_文本", - "desc": "", - "type": "string", - "exampleValue": "|" - }, - { - "id": 16, - "name": "参数17_链接文本", - "desc": "", - "type": "string", - "exampleValue": "回复" - }, - { - "id": 17, - "name": "参数18_链接地址", - "desc": "", - "type": "string", - "exampleValue": "javascript:void(0)" - }, - { - "id": 18, - "name": "参数19_文本", - "desc": "", - "type": "string", - "exampleValue": ":有次我在琴房练琴,练的是一首通俗歌曲改编的钢琴曲。正当我沉醉于自己的琴声时,隔壁忽然传来这首夜曲,那一刻我突然觉得自己练的曲子简直是没法听,于是后半段就没练,坐在琴房听隔壁弹了一个小时夜曲。" - }, - { - "id": 19, - "name": "参数20_文本", - "desc": "", - "type": "string", - "exampleValue": "◆" - }, - { - "id": 20, - "name": "参数21_文本", - "desc": "", - "type": "string", - "exampleValue": "◆" - }, - { - "id": 21, - "name": "参数22_文本", - "desc": "", - "type": "string", - "exampleValue": "2016年4月24日" - }, - { - "id": 22, - "name": "参数23_链接文本", - "desc": "", - "type": "string", - "exampleValue": "删除" - }, - { - "id": 23, - "name": "参数24_链接地址", - "desc": "", - "type": "string", - "exampleValue": "javascript:void(0)" - }, - { - "id": 24, - "name": "参数25_文本", - "desc": "", - "type": "string", - "exampleValue": "|" - }, - { - "id": 25, - "name": "参数26_链接文本", - "desc": "", - "type": "string", - "exampleValue": " (7809)" - }, - { - "id": 26, - "name": "参数27_链接地址", - "desc": "", - "type": "string", - "exampleValue": "javascript:void(0)" - }, - { - "id": 27, - "name": "参数28_文本", - "desc": "", - "type": "string", - "exampleValue": "|" - }, - { - "id": 28, - "name": "参数29_链接文本", - "desc": "", - "type": "string", - "exampleValue": "回复" - }, - { - "id": 29, - "name": "参数30_链接地址", - "desc": "", - "type": "string", - "exampleValue": "javascript:void(0)" - }, - { - "id": 30, - "name": "参数31_图片地址", - "desc": "", - "type": "string", - "exampleValue": "http://s1.music.126.net/style/web2/emt/emoji_13.png" - }, - { - "id": 31, - "name": "参数32_图片地址", - "desc": "", - "type": "string", - "exampleValue": "https://p5.music.126.net/obj/wonDlsKUwrLClGjCm8Kx/21892874340/50e6/e81d/5292/2d693cbb98954e28d4d9fdb11be99a8b.png" - }, - { - "id": 32, - "name": "参数33_链接文本", - "desc": "", - "type": "string", - "exampleValue": "网易云音乐" + "type": "text", + "recordASField": 1, + "exampleValue": "参考位置" } ], "graph": [ @@ -263,13 +160,14 @@ "type": -1, "option": 0, "title": "root", - "sequence": [1, 10, 11, 12], + "sequence": [1, 3, 4, 5], "parameters": { "history": 1, "tabIndex": 0, "useLoop": false, "xpath": "", - "wait": 0 + "wait": 0, + "waitType": 0 }, "isInLoop": false }, @@ -292,12 +190,13 @@ "beforeJSWaitTime": 0, "afterJS": "", "afterJSWaitTime": 0, - "url": "https://music.163.com/#/discover/toplist?id=71384707", - "links": "https://music.163.com/#/discover/toplist?id=71384707", - "maxWaitTime": 100, + "url": "http://localhost:8074/taskGrid/test_pages/iframe.html?address=http://www.ceic.ac.cn/history", + "links": "http://localhost:8074/taskGrid/test_pages/iframe.html?address=http://www.ceic.ac.cn/history", + "maxWaitTime": 10, "scrollType": 0, "scrollCount": 1, - "scrollWaitTime": 1 + "scrollWaitTime": 1, + "cookies": "" } }, { @@ -305,16 +204,165 @@ "index": 2, "parentId": 0, "type": 0, - "option": 2, - "title": "点击元素", + "option": 3, + "title": "提取数据", "sequence": [], "isInLoop": false, "position": 1, "parameters": { - "history": 4, + "history": 5, "tabIndex": -1, "useLoop": false, - "xpath": "//*[contains(@class, \"user\")]", + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "paras": [ + { + "nodeType": 0, + "contentType": 6, + "relative": false, + "name": "参数1_页面标题", + "desc": "", + "extractType": 0, + "relativeXPath": "/html/body/iframe[1]", + "allXPaths": [ + "/html/body/iframe[1]", + "//iframe[contains(., '')]", + "id(\"myIframe\")", + "/html/body/iframe[last()-1]" + ], + "exampleValues": [{ "num": 0, "value": "Dynamic Iframe" }], + "unique_index": "14hqdlhesn6ljt6eja8", + "iframe": false, + "default": "", + "paraType": "text", + "recordASField": 1, + "beforeJS": "", + "beforeJSWaitTime": 0, + "JS": "", + "JSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "downloadPic": 0 + }, + { + "nodeType": 1, + "contentType": 0, + "relative": false, + "name": "参数1_链接文本", + "desc": "", + "extractType": 0, + "relativeXPath": "/html/body/div[1]/div[3]/div[1]/div[1]/div[1]/form[1]/div[5]/a[1]", + "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']", + "/html/body/div[last()-3]/div[last()-1]/div/div/div[last()-1]/form/div/a" + ], + "exampleValues": [{ "num": 0, "value": "查询" }], + "unique_index": "gxhcdetmmgcljt6evon", + "iframe": true, + "default": "", + "paraType": "text", + "recordASField": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "JS": "", + "JSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "downloadPic": 0 + }, + { + "nodeType": 0, + "contentType": 5, + "relative": false, + "name": "参数1_页面网址", + "desc": "", + "extractType": 0, + "relativeXPath": "/html/body/iframe[1]", + "allXPaths": [ + "/html/body/iframe[1]", + "//iframe[contains(., '')]", + "id(\"myIframe\")", + "/html/body/iframe[last()-1]" + ], + "exampleValues": [ + { + "num": 0, + "value": "http://localhost:8074/taskGrid/test_pages/iframe.html?address=http://www.ceic.ac.cn/history" + } + ], + "unique_index": "e663xi39mb4ljt6em4l", + "iframe": false, + "default": "", + "paraType": "text", + "recordASField": 1, + "beforeJS": "", + "beforeJSWaitTime": 0, + "JS": "", + "JSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "downloadPic": 0 + } + ] + } + }, + { + "id": 2, + "index": 3, + "parentId": 0, + "type": 0, + "option": 4, + "title": "输入文字", + "sequence": [], + "isInLoop": false, + "position": 1, + "parameters": { + "history": 5, + "tabIndex": -1, + "useLoop": false, + "xpath": "//*[@id=\"weidu1\"]", + "iframe": true, + "wait": 0, + "waitType": 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']", + "/html/body/div[last()-3]/div[last()-1]/div/div/div[last()-1]/form/div[last()-3]/input[last()-1]" + ] + } + }, + { + "id": 3, + "index": 4, + "parentId": 0, + "type": 0, + "option": 2, + "title": "点击元素", + "sequence": [], + "isInLoop": false, + "position": 2, + "parameters": { + "history": 5, + "tabIndex": -1, + "useLoop": false, + "xpath": "//*[@id=\"search\"]", "iframe": true, "wait": 2, "waitType": 0, @@ -327,30 +375,31 @@ "scrollWaitTime": 1, "clickWay": 0, "maxWaitTime": 10, - "params": [], + "paras": [], "allXPaths": [ - "/html/body/div[3]/div[2]/div[1]/div[1]/div[1]/div[2]/div[1]/div[2]", - "//div[contains(., '最近更新:06月2')]", - "//DIV[@class='user f-cb']", - "/html/body/div[last()-10]/div/div/div[last()-1]/div/div/div/div[last()-1]" + "/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']", + "/html/body/div[last()-3]/div[last()-1]/div/div/div[last()-1]/form/div/a" ] } }, { - "id": -1, - "index": 3, + "id": 4, + "index": 5, "parentId": 0, "type": 1, "option": 8, "title": "循环", - "sequence": [5, 4], + "sequence": [7, 6], "isInLoop": false, - "position": 2, + "position": 3, "parameters": { - "history": 4, + "history": 5, "tabIndex": -1, "useLoop": false, - "xpath": "//*[contains(@class, \"user\")]", + "xpath": "//*[contains(@class, \"pagination\")]/ul[1]/li[last()-1]/a[1]", "iframe": true, "wait": 0, "waitType": 0, @@ -372,90 +421,14 @@ "breakCode": "", "breakCodeWaitTime": 0, "allXPaths": [ - "/html/body/div[3]/div[2]/div[1]/div[1]/div[1]/div[2]/div[1]/div[2]", - "//div[contains(., '最近更新:06月2')]", - "//DIV[@class='user f-cb']", - "/html/body/div[last()-10]/div/div/div[last()-1]/div/div/div/div[last()-1]" + "/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(., '»')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div/div/div/ul/li[last()-1]/a" ] } }, { - "id": -1, - "index": 4, - "parentId": 3, - "type": 0, - "option": 2, - "title": "点击元素", - "sequence": [], - "isInLoop": true, - "position": 1, - "parameters": { - "history": 4, - "tabIndex": -1, - "useLoop": true, - "xpath": "//*[contains(@class, \"user\")]", - "iframe": true, - "wait": 2, - "waitType": 0, - "beforeJS": "", - "beforeJSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "scrollType": 0, - "scrollCount": 1, - "scrollWaitTime": 1, - "clickWay": 0, - "maxWaitTime": 10, - "params": [], - "allXPaths": [ - "/html/body/div[3]/div[2]/div[1]/div[1]/div[1]/div[2]/div[1]/div[2]", - "//div[contains(., '最近更新:06月2')]", - "//DIV[@class='user f-cb']", - "/html/body/div[last()-10]/div/div/div[last()-1]/div/div/div/div[last()-1]" - ], - "loopType": 0 - } - }, - { - "id": -1, - "index": 5, - "parentId": 3, - "type": 1, - "option": 8, - "title": "循环", - "sequence": [6, 7, 8], - "isInLoop": true, - "position": 0, - "parameters": { - "history": 4, - "tabIndex": -1, - "useLoop": false, - "xpath": "/html/body/div[3]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/table[1]/tbody[1]/tr[1]/td", - "iframe": true, - "wait": 0, - "waitType": 0, - "beforeJS": "", - "beforeJSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "scrollType": 0, - "scrollCount": 1, - "scrollWaitTime": 1, - "loopType": 1, - "pathList": "", - "textList": "", - "code": "", - "waitTime": 0, - "exitCount": 0, - "historyWait": 2, - "breakMode": 0, - "breakCode": "", - "breakCodeWaitTime": 0, - "allXPaths": "" - } - }, - { - "id": -1, + "id": 6, "index": 6, "parentId": 4, "type": 0, @@ -463,12 +436,12 @@ "title": "点击元素", "sequence": [], "isInLoop": true, - "position": 0, + "position": 1, "parameters": { - "history": 4, + "history": 5, "tabIndex": -1, "useLoop": true, - "xpath": "/html/body/div[3]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/table[1]/tbody[1]/tr[1]/td", + "xpath": "//*[contains(@class, \"pagination\")]/ul[1]/li[10]/a[1]", "iframe": true, "wait": 2, "waitType": 0, @@ -481,1280 +454,62 @@ "scrollWaitTime": 1, "clickWay": 0, "maxWaitTime": 10, - "params": [], - "allXPaths": "", - "loopType": 1 - } - }, - { - "id": -1, - "index": 7, - "parentId": 4, - "type": 0, - "option": 4, - "title": "输入文字", - "sequence": [], - "isInLoop": true, - "position": 1, - "parameters": { - "history": 4, - "tabIndex": -1, - "useLoop": false, - "xpath": "//*[@id=\"auto-id-8mWuLxTMrXQaQCra\"]", - "iframe": true, - "wait": 0, - "waitType": 0, - "beforeJS": "", - "beforeJSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "value": "123", + "paras": [], "allXPaths": [ - "/html/body/div[3]/div[2]/div[1]/div[2]/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/div[1]/textarea[1]", - "//textarea[contains(., '')]", - "id(\"auto-id-8mWuLxTMrXQaQCra\")", - "//TEXTAREA[@class='u-txt area j-flag']", - "/html/body/div[last()-10]/div/div/div/div/div/div/div[last()-2]/div/div/div/div[last()-2]/textarea" - ] - } - }, - { - "id": -1, - "index": 8, - "parentId": 4, - "type": 1, - "option": 8, - "title": "循环", - "sequence": [9], - "isInLoop": true, - "position": 2, - "parameters": { - "history": 4, - "tabIndex": -1, - "useLoop": false, - "xpath": "/html/body/div[3]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/table[1]/tbody[1]/tr", - "iframe": true, - "wait": 0, - "waitType": 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[3]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/table[1]/tbody[1]/tr[1]", - "//tr[contains(., '11 NocturE')]", - "id(\"10609141688418212092\")", - "//TR[@class='even js-dis']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]" - ] - } - }, - { - "id": -1, - "index": 9, - "parentId": 8, - "type": 0, - "option": 3, - "title": "提取数据", - "sequence": [], - "isInLoop": true, - "position": 0, - "parameters": { - "history": 4, - "tabIndex": -1, - "useLoop": false, - "xpath": "", - "iframe": true, - "wait": 0, - "waitType": 0, - "beforeJS": "", - "beforeJSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "params": [ - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数73_文本", - "desc": "", - "relativeXPath": "/td[1]/div[1]/span[1]", - "allXPaths": [ - "/td[1]/div[1]/span[1]", - "//span[contains(., '1')]", - "//SPAN[@class='num']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-3]/div/span" - ], - "exampleValues": [{ "num": 0, "value": "1" }], - "unique_index": "/td[1]/div[1]/span[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数74_文本", - "desc": "", - "relativeXPath": "/td[1]/div[1]/div[1]/span[1]", - "allXPaths": [ - "/td[1]/div[1]/div[1]/span[1]", - "//span[contains(., '1')]", - "//SPAN[@class='ico u-icn u-icn-73 s-fc9']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-3]/div/div/span" - ], - "exampleValues": [{ "num": 0, "value": "1" }], - "unique_index": "/td[1]/div[1]/div[1]/span[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数75_链接文本", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/a[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/a[1]", - "//a[contains(., '')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/a" - ], - "exampleValues": [{ "num": 0, "value": "" }], - "unique_index": "/td[2]/div[1]/div[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数76_链接地址", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/a[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/a[1]", - "//a[contains(., '')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/a" - ], - "exampleValues": [{ "num": 0, "value": "/song?id=1060914" }], - "unique_index": "/td[2]/div[1]/div[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 4, - "contentType": 1, - "relative": true, - "name": "参数77_图片地址", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/a[1]/img[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/a[1]/img[1]", - "//img[contains(., '')]", - "//IMG[@class='rpic']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/a/img" - ], - "exampleValues": [ - { - "num": 0, - "value": "http://p1.music.126.net/Dvhon4mH7qimTtE7q3omTw==/1419469524716144.jpg?param=50y50&quality=100" - } - ], - "unique_index": "/td[2]/div[1]/div[1]/a[1]/img[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数78_链接文本", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]", - "//a[contains(., 'NocturEJpn')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/div/span/a" - ], - "exampleValues": [ - { - "num": 0, - "value": "NocturEJpne No. 2 in E Flat Major, Op. 9, No. 2" - } - ], - "unique_index": "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数79_链接地址", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]", - "//a[contains(., 'NocturEJpn')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/div/span/a" - ], - "exampleValues": [{ "num": 0, "value": "/song?id=1060914" }], - "unique_index": "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数80_文本", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]/b[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]/b[1]", - "//b[contains(., 'NocturEJpn')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/div/span/a/b" - ], - "exampleValues": [ - { "num": 0, "value": "NocturneNo.2inEFlatMajor,Op.9,No.2" } - ], - "unique_index": "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]/b[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数81_文本", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]/b[1]/div[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]/b[1]/div[1]", - "//div[contains(., 'EJp')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/div/span/a/b/div" - ], - "exampleValues": [{ "num": 0, "value": "EJp" }], - "unique_index": "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]/b[1]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数82_文本", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/div[1]/span[1]/span[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/div[1]/span[1]/span[1]", - "//span[contains(., '- (降E大调第2')]", - "//SPAN[@class='s-fc8']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/div/span/span" - ], - "exampleValues": [ - { "num": 0, "value": "-(降E大调第2号夜曲,作品9)" } - ], - "unique_index": "/td[2]/div[1]/div[1]/div[1]/span[1]/span[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数83_文本", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/div[1]/span[1]/span[1]/div[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/div[1]/span[1]/span[1]/div[1]", - "//div[contains(., '函潖奪')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/div/span/span/div" - ], - "exampleValues": [{ "num": 0, "value": "函潖奪" }], - "unique_index": "/td[2]/div[1]/div[1]/div[1]/span[1]/span[1]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数84_文本", - "desc": "", - "relativeXPath": "/td[3]/span[1]", - "allXPaths": [ - "/td[3]/span[1]", - "//span[contains(., '04:26')]", - "//SPAN[@class='u-dur ']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-1]/span" - ], - "exampleValues": [{ "num": 0, "value": "04:26" }], - "unique_index": "/td[3]/span[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数85_链接文本", - "desc": "", - "relativeXPath": "/td[3]/div[1]/a[1]", - "allXPaths": [ - "/td[3]/div[1]/a[1]", - "//a[contains(., '')]", - "//A[@class='u-icn u-icn-81 icn-add']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-1]/div/a" - ], - "exampleValues": [{ "num": 0, "value": "" }], - "unique_index": "/td[3]/div[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数86_链接地址", - "desc": "", - "relativeXPath": "/td[3]/div[1]/a[1]", - "allXPaths": [ - "/td[3]/div[1]/a[1]", - "//a[contains(., '')]", - "//A[@class='u-icn u-icn-81 icn-add']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-1]/div/a" - ], - "exampleValues": [{ "num": 0, "value": "javascript:;" }], - "unique_index": "/td[3]/div[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数87_文本", - "desc": "", - "relativeXPath": "/td[3]/div[1]/span[2]", - "allXPaths": [ - "/td[3]/div[1]/span[2]", - "//span[contains(., '分享')]", - "//SPAN[@class='icn icn-share']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-1]/div/span[last()-1]" - ], - "exampleValues": [{ "num": 0, "value": "分享" }], - "unique_index": "/td[3]/div[1]/span[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数88_链接文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[1]", - "//a[contains(., 'Arthur Rub')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td/div/span/a" - ], - "exampleValues": [{ "num": 0, "value": "Arthur Rubiwf8knstein" }], - "unique_index": "/td[4]/div[1]/span[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数89_链接地址", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[1]", - "//a[contains(., 'Arthur Rub')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td/div/span/a" - ], - "exampleValues": [{ "num": 0, "value": "/artist?id=12541250" }], - "unique_index": "/td[4]/div[1]/span[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数90_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[1]/div[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[1]/div[1]", - "//div[contains(., 'wf8k')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td/div/span/a/div" - ], - "exampleValues": [{ "num": 0, "value": "wf8k" }], - "unique_index": "/td[4]/div[1]/span[1]/a[1]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数91_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/span[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/span[1]", - "//span[contains(., 'Noble Musi')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-97]/td/div/span/span" - ], - "exampleValues": [{ "num": 2, "value": "NobleMusicProject" }], - "unique_index": "/td[4]/div[1]/span[1]/span[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数92_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/span[1]/div[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/span[1]/div[1]", - "//div[contains(., 'fXuJ')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-97]/td/div/span/span/div" - ], - "exampleValues": [{ "num": 2, "value": "fXuJ" }], - "unique_index": "/td[4]/div[1]/span[1]/span[1]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数93_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]", - "//span[contains(., 'JohaNOfnn')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-87]/td/div/span" - ], - "exampleValues": [{ "num": 12, "value": "/" }], - "unique_index": "/td[4]/div[1]/span[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数94_链接文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[2]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[2]", - "//a[contains(., 'Chris USne')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-87]/td/div/span/a" - ], - "exampleValues": [{ "num": 12, "value": "Chris USnelling" }], - "unique_index": "/td[4]/div[1]/span[1]/a[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数95_链接地址", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[2]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[2]", - "//a[contains(., 'Chris USne')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-87]/td/div/span/a" - ], - "exampleValues": [{ "num": 12, "value": "/artist?id=13065095" }], - "unique_index": "/td[4]/div[1]/span[1]/a[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数96_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[2]/div[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[2]/div[1]", - "//div[contains(., 'U')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-87]/td/div/span/a/div" - ], - "exampleValues": [{ "num": 12, "value": "U" }], - "unique_index": "/td[4]/div[1]/span[1]/a[2]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数97_链接文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[3]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[3]", - "//a[contains(., 'Eberhard a')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-81]/td/div/span/a[last()-1]" - ], - "exampleValues": [{ "num": 18, "value": "Eberhard aFJFinke" }], - "unique_index": "/td[4]/div[1]/span[1]/a[3]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数98_链接地址", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[3]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[3]", - "//a[contains(., 'Eberhard a')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-81]/td/div/span/a[last()-1]" - ], - "exampleValues": [{ "num": 18, "value": "/artist?id=265005" }], - "unique_index": "/td[4]/div[1]/span[1]/a[3]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数99_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[3]/div[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[3]/div[1]", - "//div[contains(., 'aFJ')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-81]/td/div/span/a[last()-1]/div" - ], - "exampleValues": [{ "num": 18, "value": "aFJ" }], - "unique_index": "/td[4]/div[1]/span[1]/a[3]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数100_链接文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[4]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[4]", - "//a[contains(., 'Mstip4Usla')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-81]/td/div/span/a" - ], - "exampleValues": [ - { "num": 18, "value": "Mstip4Uslav Rostropovich" } - ], - "unique_index": "/td[4]/div[1]/span[1]/a[4]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数101_链接地址", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[4]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[4]", - "//a[contains(., 'Mstip4Usla')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-81]/td/div/span/a" - ], - "exampleValues": [{ "num": 18, "value": "/artist?id=155815" }], - "unique_index": "/td[4]/div[1]/span[1]/a[4]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数102_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[4]/div[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[4]/div[1]", - "//div[contains(., 'p4U')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-81]/td/div/span/a/div" - ], - "exampleValues": [{ "num": 18, "value": "p4U" }], - "unique_index": "/td[4]/div[1]/span[1]/a[4]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数103_文本", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/div[1]/span[1]/span[2]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/div[1]/span[1]/span[2]", - "//span[contains(., 'MV')]", - "//SPAN[@class='mv']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-62]/td[last()-2]/div/div/div/span/span" - ], - "exampleValues": [{ "num": 37, "value": "MV" }], - "unique_index": "/td[2]/div[1]/div[1]/div[1]/span[1]/span[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数104_链接文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[5]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[5]", - "//a[contains(., 'AdIUBrpad')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a[last()-2]" - ], - "exampleValues": [{ "num": 81, "value": "AdIUBrpad Gérecz" }], - "unique_index": "/td[4]/div[1]/span[1]/a[5]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数105_链接地址", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[5]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[5]", - "//a[contains(., 'AdIUBrpad')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a[last()-2]" - ], - "exampleValues": [{ "num": 81, "value": "/artist?id=213459" }], - "unique_index": "/td[4]/div[1]/span[1]/a[5]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数106_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[5]/div[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[5]/div[1]", - "//div[contains(., 'dIUB')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a[last()-2]/div" - ], - "exampleValues": [{ "num": 81, "value": "dIUB" }], - "unique_index": "/td[4]/div[1]/span[1]/a[5]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数107_链接文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[6]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[6]", - "//a[contains(., 'New Philha')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a[last()-1]" - ], - "exampleValues": [ - { "num": 81, "value": "New Philharmoniali Orchestra" } - ], - "unique_index": "/td[4]/div[1]/span[1]/a[6]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数108_链接地址", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[6]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[6]", - "//a[contains(., 'New Philha')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a[last()-1]" - ], - "exampleValues": [{ "num": 81, "value": "/artist?id=129486" }], - "unique_index": "/td[4]/div[1]/span[1]/a[6]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数109_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[6]/div[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[6]/div[1]", - "//div[contains(., 'li')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a[last()-1]/div" - ], - "exampleValues": [{ "num": 81, "value": "li" }], - "unique_index": "/td[4]/div[1]/span[1]/a[6]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数110_链接文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[7]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[7]", - "//a[contains(., 'Edo de Waf')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a" - ], - "exampleValues": [{ "num": 81, "value": "Edo de WafczUart" }], - "unique_index": "/td[4]/div[1]/span[1]/a[7]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数111_链接地址", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[7]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[7]", - "//a[contains(., 'Edo de Waf')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a" - ], - "exampleValues": [{ "num": 81, "value": "/artist?id=144817" }], - "unique_index": "/td[4]/div[1]/span[1]/a[7]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数112_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[7]/div[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[7]/div[1]", - "//div[contains(., 'fczU')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a/div" - ], - "exampleValues": [{ "num": 81, "value": "fczU" }], - "unique_index": "/td[4]/div[1]/span[1]/a[7]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - } - ] - } - }, - { - "id": 2, - "index": 10, - "parentId": 0, - "type": 0, - "option": 2, - "title": "点击元素", - "sequence": [], - "isInLoop": false, - "position": 1, - "parameters": { - "history": 3, - "tabIndex": -1, - "useLoop": false, - "xpath": "//*[@id=\"10609141688426033070\"]/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]/b[1]", - "iframe": true, - "wait": 2, - "waitType": 0, - "beforeJS": "", - "beforeJSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "scrollType": 0, - "scrollCount": 1, - "scrollWaitTime": 1, - "clickWay": 0, - "maxWaitTime": 10, - "params": [], - "allXPaths": [ - "/html/body/div[3]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/table[1]/tbody[1]/tr[1]/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]/b[1]", - "//b[contains(., 'Nocturne N')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/div/span/a/b" - ] - } - }, - { - "id": 3, - "index": 11, - "parentId": 0, - "type": 0, - "option": 3, - "title": "提取数据", - "sequence": [], - "isInLoop": false, - "position": 2, - "parameters": { - "history": 4, - "tabIndex": -1, - "useLoop": false, - "xpath": "", - "iframe": true, - "wait": 0, - "waitType": 0, - "beforeJS": "", - "beforeJSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "params": [ - { - "nodeType": 0, - "contentType": 0, - "relative": false, - "name": "参数1_文本", - "desc": "", - "relativeXPath": "/html/body/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/em[1]", - "allXPaths": [ - "/html/body/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/em[1]", - "//em[contains(., 'Nocturne N')]", - "//EM[@class='f-ff2']", - "/html/body/div[last()-8]/div[last()-1]/div/div/div[last()-1]/div[last()-1]/div/div[last()-2]/div/em" - ], - "exampleValues": [ - { - "num": 0, - "value": "Nocturne No. 2 in E Flat Major, Op. 9, No. 2" - } - ], - "unique_index": "8l265os1r85ljnha0rx", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 0, - "relative": false, - "name": "参数2_文本", - "desc": "", - "relativeXPath": "/html/body/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[2]/div[3]", - "allXPaths": [ - "/html/body/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[2]/div[3]", - "//div[contains(., '作曲 : Frédé')]", - "id(\"lyric-content\")", - "//DIV[@class='bd bd-open f-brk f-ib']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div[last()-1]/div[last()-1]/div/div" - ], - "exampleValues": [ - { - "num": 0, - "value": "作曲 : Frédéric François Chopin纯音乐,请欣赏" - } - ], - "unique_index": "wo55mnquaokljnha0rx", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - } - ] - } - }, - { - "id": 4, - "index": 12, - "parentId": 0, - "type": 1, - "option": 8, - "title": "循环", - "sequence": [13, 14], - "isInLoop": false, - "position": 3, - "parameters": { - "history": 4, - "tabIndex": -1, - "useLoop": false, - "xpath": "/html/body/div[3]/div[1]/div[1]/div[1]/div[2]/div[1]/div[2]/div[2]/div", - "iframe": true, - "wait": 0, - "waitType": 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[3]/div[1]/div[1]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]", - "//div[contains(., '新鑫曼巴:建议这种纯')]", - "id(\"1430545231688426048755\")", - "//DIV[@class='itm']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]" - ] + "/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(., '»')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div/div/div/ul/li[last()-1]/a" + ], + "loopType": 0 } }, { "id": 5, - "index": 13, + "index": 7, "parentId": 4, + "type": 1, + "option": 8, + "title": "循环", + "sequence": [8], + "isInLoop": true, + "position": 0, + "parameters": { + "history": 5, + "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", + "iframe": true, + "wait": 0, + "waitType": 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']", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-20]" + ] + } + }, + { + "id": 7, + "index": 8, + "parentId": 5, "type": 0, "option": 3, "title": "提取数据", @@ -1762,7 +517,7 @@ "isInLoop": true, "position": 0, "parameters": { - "history": 4, + "history": 5, "tabIndex": -1, "useLoop": false, "xpath": "", @@ -1773,76 +528,25 @@ "beforeJSWaitTime": 0, "afterJS": "", "afterJSWaitTime": 0, - "params": [ + "paras": [ { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数3_链接文本", - "desc": "", - "relativeXPath": "/div[1]/a[1]", - "allXPaths": [ - "/div[1]/a[1]", - "//a[contains(., '')]", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div[last()-1]/a" - ], - "exampleValues": [{ "num": 0, "value": "" }], - "unique_index": "/div[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数4_链接地址", - "desc": "", - "relativeXPath": "/div[1]/a[1]", - "allXPaths": [ - "/div[1]/a[1]", - "//a[contains(., '')]", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div[last()-1]/a" - ], - "exampleValues": [{ "num": 0, "value": "/user/home?id=6622403" }], - "unique_index": "/div[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 4, + "nodeType": 0, "contentType": 1, "relative": true, - "name": "参数5_图片地址", + "name": "参数1_文本", "desc": "", - "relativeXPath": "/div[1]/a[1]/img[1]", + "relativeXPath": "/td[1]", "allXPaths": [ - "/div[1]/a[1]/img[1]", - "//img[contains(., '')]", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div[last()-1]/a/img" + "/td[1]", + "//td[contains(., '5.0')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-19]/td[last()-5]" ], - "exampleValues": [ - { - "num": 0, - "value": "http://p2.music.126.net/XM9AGb0vN4OSKK4WeZM7aA==/109951165633941106.jpg?param=50y50" - } - ], - "unique_index": "/div[1]/a[1]/img[1]", + "exampleValues": [{ "num": 0, "value": "5.0" }], + "unique_index": "/td[1]", "iframe": true, - "default": "", + "default": "8.8", + "paraType": "double", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -1855,21 +559,98 @@ "nodeType": 0, "contentType": 1, "relative": true, - "name": "参数6_文本", + "name": "参数2_文本", "desc": "", - "relativeXPath": "/div[2]/div[1]/div[1]", + "relativeXPath": "/td[2]", "allXPaths": [ - "/div[2]/div[1]/div[1]", - "//div[contains(., '新鑫曼巴:建议这种纯')]", - "//DIV[@class='cnt f-brk']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div[last()-1]/div" + "/td[2]", + "//td[contains(., '2023-06-29')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-19]/td[last()-4]" ], - "exampleValues": [ - { "num": 0, "value": ":建议这种纯音乐,小编在歌词中做简介" } + "exampleValues": [{ "num": 0, "value": "2023-06-2912:58:00" }], + "unique_index": "/td[2]", + "iframe": true, + "default": "2020-02-08 00:01:02", + "paraType": "datetime", + "recordASField": 1, + "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(., '37.10')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-19]/td[last()-3]" ], - "unique_index": "/div[2]/div[1]/div[1]", + "exampleValues": [{ "num": 0, "value": "37.10" }], + "unique_index": "/td[3]", "iframe": true, "default": "", + "paraType": "text", + "recordASField": 1, + "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(., '71.85')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-19]/td[last()-2]" + ], + "exampleValues": [{ "num": 0, "value": "71.85" }], + "unique_index": "/td[4]", + "iframe": true, + "default": "", + "paraType": "text", + "recordASField": 1, + "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(., '140')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-19]/td[last()-1]" + ], + "exampleValues": [{ "num": 0, "value": "140" }], + "unique_index": "/td[5]", + "iframe": true, + "default": "", + "paraType": "int", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -1882,19 +663,21 @@ "nodeType": 1, "contentType": 0, "relative": true, - "name": "参数7_链接文本", + "name": "参数1_页面标题", "desc": "", - "relativeXPath": "/div[2]/div[1]/div[1]/a[1]", + "relativeXPath": "/td[6]/a[1]", "allXPaths": [ - "/div[2]/div[1]/div[1]/a[1]", - "//a[contains(., '新鑫曼巴')]", - "//A[@class='s-fc7']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div[last()-1]/div/a" + "/td[6]/a[1]", + "//a[contains(., '塔吉克斯坦')]", + "id(\"cid\")", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-19]/td/a" ], - "exampleValues": [{ "num": 0, "value": "新鑫曼巴" }], - "unique_index": "/div[2]/div[1]/div[1]/a[1]", + "exampleValues": [{ "num": 0, "value": "塔吉克斯坦" }], + "unique_index": "/td[6]/a[1]", "iframe": true, "default": "", + "paraType": "text", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -1907,19 +690,26 @@ "nodeType": 2, "contentType": 0, "relative": true, - "name": "参数8_链接地址", + "name": "参数7_链接地址", "desc": "", - "relativeXPath": "/div[2]/div[1]/div[1]/a[1]", + "relativeXPath": "/td[6]/a[1]", "allXPaths": [ - "/div[2]/div[1]/div[1]/a[1]", - "//a[contains(., '新鑫曼巴')]", - "//A[@class='s-fc7']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div[last()-1]/div/a" + "/td[6]/a[1]", + "//a[contains(., '塔吉克斯坦')]", + "id(\"cid\")", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-19]/td/a" ], - "exampleValues": [{ "num": 0, "value": "/user/home?id=6622403" }], - "unique_index": "/div[2]/div[1]/div[1]/a[1]", + "exampleValues": [ + { + "num": 0, + "value": "https://news.ceic.ac.cn/CC20230629125800.html" + } + ], + "unique_index": "/td[6]/a[1]", "iframe": true, "default": "", + "paraType": "text", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -1929,27 +719,49 @@ "downloadPic": 0 }, { - "nodeType": 4, + "nodeType": 0, "contentType": 1, "relative": true, - "name": "参数9_图片地址", + "name": "参数8_文本", "desc": "", - "relativeXPath": "/div[2]/div[1]/div[1]/img[1]", + "relativeXPath": "/th[1]", "allXPaths": [ - "/div[2]/div[1]/div[1]/img[1]", - "//img[contains(., '')]", - "//IMG[@class='brand-tag brand-vip']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div[last()-1]/div/img" + "/th[1]", + "//th[contains(., '震级(M)')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-20]/th[last()-5]" ], - "exampleValues": [ - { - "num": 0, - "value": "http://p5.music.126.net/obj/wovDmcKXw6PCn2_CmsOk/17941162599/305d/0dee/968a/22f0de72becf0485ecac1d6a5898825a.png" - } - ], - "unique_index": "/div[2]/div[1]/div[1]/img[1]", + "exampleValues": [{ "num": 1, "value": "震级(M)" }], + "unique_index": "/th[1]", "iframe": true, "default": "", + "paraType": "text", + "recordASField": 1, + "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')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-20]/th[last()-4]" + ], + "exampleValues": [{ "num": 1, "value": "发震时刻(UTC+8)" }], + "unique_index": "/th[2]", + "iframe": true, + "default": "", + "paraType": "text", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -1964,17 +776,18 @@ "relative": true, "name": "参数10_文本", "desc": "", - "relativeXPath": "/div[2]/div[2]/div[1]", + "relativeXPath": "/th[3]", "allXPaths": [ - "/div[2]/div[2]/div[1]", - "//div[contains(., '2016年4月18日')]", - "//DIV[@class='time s-fc4']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/div" + "/th[3]", + "//th[contains(., '纬度(°)')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-20]/th[last()-3]" ], - "exampleValues": [{ "num": 0, "value": "2016年4月18日" }], - "unique_index": "/div[2]/div[2]/div[1]", + "exampleValues": [{ "num": 1, "value": "纬度(°)" }], + "unique_index": "/th[3]", "iframe": true, "default": "", + "paraType": "text", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -1984,22 +797,23 @@ "downloadPic": 0 }, { - "nodeType": 1, - "contentType": 0, + "nodeType": 0, + "contentType": 1, "relative": true, - "name": "参数11_链接文本", + "name": "参数11_文本", "desc": "", - "relativeXPath": "/div[2]/div[2]/span[1]/span[1]/a[1]", + "relativeXPath": "/th[4]", "allXPaths": [ - "/div[2]/div[2]/span[1]/span[1]/a[1]", - "//a[contains(., '删除')]", - "//A[@class='s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/span[last()-1]/span/a" + "/th[4]", + "//th[contains(., '经度(°)')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-20]/th[last()-2]" ], - "exampleValues": [{ "num": 0, "value": "删除" }], - "unique_index": "/div[2]/div[2]/span[1]/span[1]/a[1]", + "exampleValues": [{ "num": 1, "value": "经度(°)" }], + "unique_index": "/th[4]", "iframe": true, "default": "", + "paraType": "text", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -2009,22 +823,23 @@ "downloadPic": 0 }, { - "nodeType": 2, - "contentType": 0, + "nodeType": 0, + "contentType": 1, "relative": true, - "name": "参数12_链接地址", + "name": "参数12_文本", "desc": "", - "relativeXPath": "/div[2]/div[2]/span[1]/span[1]/a[1]", + "relativeXPath": "/th[5]", "allXPaths": [ - "/div[2]/div[2]/span[1]/span[1]/a[1]", - "//a[contains(., '删除')]", - "//A[@class='s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/span[last()-1]/span/a" + "/th[5]", + "//th[contains(., '深度(千米)')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-20]/th[last()-1]" ], - "exampleValues": [{ "num": 0, "value": "javascript:void(0)" }], - "unique_index": "/div[2]/div[2]/span[1]/span[1]/a[1]", + "exampleValues": [{ "num": 1, "value": "深度(千米)" }], + "unique_index": "/th[5]", "iframe": true, "default": "", + "paraType": "text", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -2039,502 +854,18 @@ "relative": true, "name": "参数13_文本", "desc": "", - "relativeXPath": "/div[2]/div[2]/span[1]/span[1]/span[1]", + "relativeXPath": "/th[6]", "allXPaths": [ - "/div[2]/div[2]/span[1]/span[1]/span[1]", - "//span[contains(., '|')]", - "//SPAN[@class='sep']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/span[last()-1]/span/span" + "/th[6]", + "//th[contains(., '参考位置')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-20]/th" ], - "exampleValues": [{ "num": 0, "value": "|" }], - "unique_index": "/div[2]/div[2]/span[1]/span[1]/span[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数14_链接文本", - "desc": "", - "relativeXPath": "/div[2]/div[2]/a[1]", - "allXPaths": [ - "/div[2]/div[2]/a[1]", - "//a[contains(., '(29844)')]", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/a[last()-1]" - ], - "exampleValues": [{ "num": 0, "value": " (29844)" }], - "unique_index": "/div[2]/div[2]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数15_链接地址", - "desc": "", - "relativeXPath": "/div[2]/div[2]/a[1]", - "allXPaths": [ - "/div[2]/div[2]/a[1]", - "//a[contains(., '(29844)')]", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/a[last()-1]" - ], - "exampleValues": [{ "num": 0, "value": "javascript:void(0)" }], - "unique_index": "/div[2]/div[2]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数16_文本", - "desc": "", - "relativeXPath": "/div[2]/div[2]/span[2]", - "allXPaths": [ - "/div[2]/div[2]/span[2]", - "//span[contains(., '|')]", - "//SPAN[@class='sep']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/span" - ], - "exampleValues": [{ "num": 0, "value": "|" }], - "unique_index": "/div[2]/div[2]/span[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数17_链接文本", - "desc": "", - "relativeXPath": "/div[2]/div[2]/a[2]", - "allXPaths": [ - "/div[2]/div[2]/a[2]", - "//a[contains(., '回复')]", - "//A[@class='s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/a" - ], - "exampleValues": [{ "num": 0, "value": "回复" }], - "unique_index": "/div[2]/div[2]/a[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数18_链接地址", - "desc": "", - "relativeXPath": "/div[2]/div[2]/a[2]", - "allXPaths": [ - "/div[2]/div[2]/a[2]", - "//a[contains(., '回复')]", - "//A[@class='s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/a" - ], - "exampleValues": [{ "num": 0, "value": "javascript:void(0)" }], - "unique_index": "/div[2]/div[2]/a[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数19_文本", - "desc": "", - "relativeXPath": "/div[2]/div[2]", - "allXPaths": [ - "/div[2]/div[2]", - "//div[contains(., '◆◆_Being_:')]", - "//DIV[@class='que f-brk f-pr s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div[last()-1]" - ], - "exampleValues": [ - { - "num": 6, - "value": ":有次我在琴房练琴,练的是一首通俗歌曲改编的钢琴曲。正当我沉醉于自己的琴声时,隔壁忽然传来这首夜曲,那一刻我突然觉得自己练的曲子简直是没法听,于是后半段就没练,坐在琴房听隔壁弹了一个小时夜曲。" - } - ], - "unique_index": "/div[2]/div[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数20_文本", - "desc": "", - "relativeXPath": "/div[2]/div[2]/span[1]/i[1]", - "allXPaths": [ - "/div[2]/div[2]/span[1]/i[1]", - "//i[contains(., '◆')]", - "//I[@class='bd']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div[last()-1]/span/i[last()-1]" - ], - "exampleValues": [{ "num": 6, "value": "◆" }], - "unique_index": "/div[2]/div[2]/span[1]/i[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数21_文本", - "desc": "", - "relativeXPath": "/div[2]/div[2]/span[1]/i[2]", - "allXPaths": [ - "/div[2]/div[2]/span[1]/i[2]", - "//i[contains(., '◆')]", - "//I[@class='bg']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div[last()-1]/span/i" - ], - "exampleValues": [{ "num": 6, "value": "◆" }], - "unique_index": "/div[2]/div[2]/span[1]/i[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数22_文本", - "desc": "", - "relativeXPath": "/div[2]/div[3]/div[1]", - "allXPaths": [ - "/div[2]/div[3]/div[1]", - "//div[contains(., '2016年4月24日')]", - "//DIV[@class='time s-fc4']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/div" - ], - "exampleValues": [{ "num": 6, "value": "2016年4月24日" }], - "unique_index": "/div[2]/div[3]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数23_链接文本", - "desc": "", - "relativeXPath": "/div[2]/div[3]/span[1]/span[1]/a[1]", - "allXPaths": [ - "/div[2]/div[3]/span[1]/span[1]/a[1]", - "//a[contains(., '删除')]", - "//A[@class='s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/span[last()-1]/span/a" - ], - "exampleValues": [{ "num": 6, "value": "删除" }], - "unique_index": "/div[2]/div[3]/span[1]/span[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数24_链接地址", - "desc": "", - "relativeXPath": "/div[2]/div[3]/span[1]/span[1]/a[1]", - "allXPaths": [ - "/div[2]/div[3]/span[1]/span[1]/a[1]", - "//a[contains(., '删除')]", - "//A[@class='s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/span[last()-1]/span/a" - ], - "exampleValues": [{ "num": 6, "value": "javascript:void(0)" }], - "unique_index": "/div[2]/div[3]/span[1]/span[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数25_文本", - "desc": "", - "relativeXPath": "/div[2]/div[3]/span[1]/span[1]/span[1]", - "allXPaths": [ - "/div[2]/div[3]/span[1]/span[1]/span[1]", - "//span[contains(., '|')]", - "//SPAN[@class='sep']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/span[last()-1]/span/span" - ], - "exampleValues": [{ "num": 6, "value": "|" }], - "unique_index": "/div[2]/div[3]/span[1]/span[1]/span[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数26_链接文本", - "desc": "", - "relativeXPath": "/div[2]/div[3]/a[1]", - "allXPaths": [ - "/div[2]/div[3]/a[1]", - "//a[contains(., '(7809)')]", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/a[last()-1]" - ], - "exampleValues": [{ "num": 6, "value": " (7809)" }], - "unique_index": "/div[2]/div[3]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数27_链接地址", - "desc": "", - "relativeXPath": "/div[2]/div[3]/a[1]", - "allXPaths": [ - "/div[2]/div[3]/a[1]", - "//a[contains(., '(7809)')]", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/a[last()-1]" - ], - "exampleValues": [{ "num": 6, "value": "javascript:void(0)" }], - "unique_index": "/div[2]/div[3]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数28_文本", - "desc": "", - "relativeXPath": "/div[2]/div[3]/span[2]", - "allXPaths": [ - "/div[2]/div[3]/span[2]", - "//span[contains(., '|')]", - "//SPAN[@class='sep']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/span" - ], - "exampleValues": [{ "num": 6, "value": "|" }], - "unique_index": "/div[2]/div[3]/span[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数29_链接文本", - "desc": "", - "relativeXPath": "/div[2]/div[3]/a[2]", - "allXPaths": [ - "/div[2]/div[3]/a[2]", - "//a[contains(., '回复')]", - "//A[@class='s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/a" - ], - "exampleValues": [{ "num": 6, "value": "回复" }], - "unique_index": "/div[2]/div[3]/a[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数30_链接地址", - "desc": "", - "relativeXPath": "/div[2]/div[3]/a[2]", - "allXPaths": [ - "/div[2]/div[3]/a[2]", - "//a[contains(., '回复')]", - "//A[@class='s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/a" - ], - "exampleValues": [{ "num": 6, "value": "javascript:void(0)" }], - "unique_index": "/div[2]/div[3]/a[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 4, - "contentType": 1, - "relative": true, - "name": "参数31_图片地址", - "desc": "", - "relativeXPath": "/div[2]/div[2]/img[1]", - "allXPaths": [ - "/div[2]/div[2]/img[1]", - "//img[contains(., '')]", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-19]/div/div[last()-1]/img" - ], - "exampleValues": [ - { - "num": 15, - "value": "http://s1.music.126.net/style/web2/emt/emoji_13.png" - } - ], - "unique_index": "/div[2]/div[2]/img[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 4, - "contentType": 1, - "relative": true, - "name": "参数32_图片地址", - "desc": "", - "relativeXPath": "/div[2]/div[1]/div[1]/img[2]", - "allXPaths": [ - "/div[2]/div[1]/div[1]/img[2]", - "//img[contains(., '')]", - "//IMG[@class='brand-tag brand-package']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-3]/div/div[last()-1]/div/img" - ], - "exampleValues": [ - { - "num": 31, - "value": "https://p5.music.126.net/obj/wonDlsKUwrLClGjCm8Kx/21892874340/50e6/e81d/5292/2d693cbb98954e28d4d9fdb11be99a8b.png" - } - ], - "unique_index": "/div[2]/div[1]/div[1]/img[2]", + "exampleValues": [{ "num": 1, "value": "参考位置" }], + "unique_index": "/th[6]", "iframe": true, "default": "", + "paraType": "text", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -2548,18 +879,41 @@ } }, { - "id": 6, - "index": 14, - "parentId": 4, - "type": 0, - "option": 3, - "title": "提取数据", - "sequence": [], + "id": -1, + "index": 9, + "parentId": 5, + "type": 2, + "option": 9, + "title": "判断条件", + "sequence": [10], "isInLoop": true, "position": 1, "parameters": { - "history": 4, - "tabIndex": -1, + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0 + } + }, + { + "id": -1, + "parentId": 9, + "index": 10, + "type": 3, + "option": 10, + "title": "条件分支", + "sequence": [16], + "isInLoop": true, + "parameters": { + "history": 1, + "tabIndex": 0, "useLoop": false, "xpath": "", "iframe": false, @@ -2569,34 +923,314 @@ "beforeJSWaitTime": 0, "afterJS": "", "afterJSWaitTime": 0, - "params": [ - { - "nodeType": 1, - "contentType": 0, - "relative": false, - "name": "参数33_链接文本", - "desc": "", - "extractType": 0, - "relativeXPath": "/html/body/div[1]/div[1]/div[1]/h1[1]/a[1]", - "allXPaths": [ - "/html/body/div[1]/div[1]/div[1]/h1[1]/a[1]", - "//a[contains(., '网易云音乐')]", - "/html/body/div[last()-7]/div[last()-2]/div/h1/a" - ], - "exampleValues": [{ "num": 0, "value": "网易云音乐" }], - "unique_index": "3mjhotxlh4mljnhapl0", - "iframe": false, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - } - ] + "class": "3", + "value": "日本", + "code": "", + "waitTime": 0 + }, + "position": 0 + }, + { + "id": -1, + "parentId": 9, + "index": 11, + "type": 3, + "option": 10, + "title": "条件分支", + "sequence": [], + "isInLoop": true, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "class": 0, + "value": "", + "code": "", + "waitTime": 0 + }, + "position": 1 + }, + { + "index": 12, + "id": -1, + "parentId": 9, + "type": 3, + "option": 10, + "title": "条件分支", + "sequence": [13], + "isInLoop": true, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "class": 0, + "value": "", + "code": "", + "waitTime": 0 + }, + "position": 0 + }, + { + "id": -1, + "index": 13, + "parentId": 10, + "type": 2, + "option": 9, + "title": "条件分支", + "sequence": [14, 15], + "isInLoop": true, + "position": 0, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0 } + }, + { + "id": -1, + "parentId": 13, + "index": 14, + "type": 3, + "option": 10, + "title": "条件分支", + "sequence": [], + "isInLoop": true, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "class": 0, + "value": "", + "code": "", + "waitTime": 0 + }, + "position": 0 + }, + { + "id": -1, + "parentId": 13, + "index": 15, + "type": 3, + "option": 10, + "title": "条件分支", + "sequence": [], + "isInLoop": true, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "class": 0, + "value": "", + "code": "", + "waitTime": 0 + }, + "position": 1 + }, + { + "id": -1, + "index": 16, + "parentId": 11, + "type": 0, + "option": 5, + "title": "Break", + "sequence": [], + "isInLoop": true, + "position": 0, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "codeMode": "3", + "code": "", + "waitTime": 0, + "recordASField": 0, + "paraType": "text" + } + }, + { + "id": -1, + "index": 17, + "parentId": 4, + "type": 2, + "option": 9, + "title": "判断条件", + "sequence": [18], + "isInLoop": true, + "position": 1, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0 + } + }, + { + "id": -1, + "parentId": 6, + "index": 18, + "type": 3, + "option": 10, + "title": "条件分支", + "sequence": [20], + "isInLoop": true, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": true, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "class": "5", + "value": "哥伦比亚", + "code": "return document.body.innerText.includes(\"哥伦比亚\")", + "waitTime": 0 + }, + "position": 0 + }, + { + "id": -1, + "parentId": 7, + "index": 19, + "type": 3, + "option": 10, + "title": "条件分支", + "sequence": [], + "isInLoop": true, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "class": 0, + "value": "", + "code": "", + "waitTime": 0 + }, + "position": 1 + }, + { + "id": -1, + "index": 20, + "parentId": 9, + "type": 0, + "option": 5, + "title": "退出循环", + "sequence": [], + "isInLoop": true, + "position": 0, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": true, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "codeMode": "3", + "code": "", + "waitTime": 0, + "recordASField": 0, + "paraType": "text" + } + }, + { + "index": 21, + "id": -1, + "parentId": 6, + "type": 3, + "option": 10, + "title": "条件分支", + "sequence": [], + "isInLoop": true, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "class": 0, + "value": "", + "code": "", + "waitTime": 0 + }, + "position": 0 } ] } diff --git a/.temp_to_pub/EasySpider_windows_x64/tasks/205.json b/.temp_to_pub/EasySpider_windows_x64/tasks/205.json index a5aba4c..69fe2d0 100644 --- a/.temp_to_pub/EasySpider_windows_x64/tasks/205.json +++ b/.temp_to_pub/EasySpider_windows_x64/tasks/205.json @@ -1 +1 @@ -{"id":205,"name":"京东全球版-专业的综合网上购物商城","url":"https://www.jd.com","links":"https://www.jd.com","create_time":"8/10/2023, 6:19:22 PM","update_time":"8/10/2023, 6:35:26 PM","version":"0.5.0","saveThreshold":10,"cloudflare":0,"environment":0,"maxViewLength":15,"recordLog":1,"outputFormat":"xlsx","saveName":"current_time","inputExcel":"","startFromExit":0,"containJudge":false,"desc":"https://www.jd.com","inputParameters":[{"id":0,"name":"urlList_0","nodeId":1,"nodeName":"打开网页","value":"https://www.jd.com","desc":"要采集的网址列表,多行以\\n分开","type":"text","exampleValue":"https://www.jd.com"},{"id":1,"name":"loopText_1","nodeId":4,"nodeName":"循环","desc":"要输入的文本/网址,多行以\\n分开","type":"text","exampleValue":"1~2\n3~4","value":"1~2\n3~4"},{"id":2,"name":"inputText_2","nodeName":"输入文字","nodeId":12,"desc":"要输入的文本,如京东搜索框输入:电脑","type":"text","exampleValue":"Field[\"参数2_链接地址\"]+Field[\"自定义操作2\"]","value":"Field[\"参数2_链接地址\"]+Field[\"自定义操作2\"]"}],"outputParameters":[{"id":0,"name":"参数1_链接文本","desc":"","type":"text","recordASField":1,"exampleValue":"手机"},{"id":1,"name":"参数2_链接地址","desc":"","type":"text","recordASField":1,"exampleValue":"https://shouji.jd.com/"},{"id":2,"name":"自定义操作","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""},{"id":3,"name":"自定义操作","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""},{"id":4,"name":"自定义操作2","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""}],"graph":[{"index":0,"id":0,"parentId":0,"type":-1,"option":0,"title":"root","sequence":[1,7,4,8,2],"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":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,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"url":"https://www.jd.com","links":"https://www.jd.com","maxWaitTime":10,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"cookies":""}},{"id":5,"index":2,"parentId":0,"type":1,"option":8,"title":"循环","sequence":[3,13,12],"isInLoop":false,"position":4,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"/html/body/div[5]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div/a","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":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[5]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/a[1]","//a[contains(., '手机')]","/html/body/div[last()-5]/div/div[last()-4]/div/div[last()-2]/div/div/div/div[last()-1]/div[last()-12]/a[last()-1]"]}},{"id":9,"index":3,"parentId":5,"type":0,"option":3,"title":"提取数据","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"params":[{"nodeType":1,"contentType":0,"relative":true,"name":"参数1_链接文本","desc":"","extractType":0,"relativeXPath":"","allXPaths":"","exampleValues":[{"num":0,"value":"手机"}],"unique_index":"hxrjjymdhcll50bpgx","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":2,"contentType":0,"relative":true,"name":"参数2_链接地址","desc":"","relativeXPath":"","allXPaths":"","exampleValues":[{"num":0,"value":"https://shouji.jd.com/"}],"unique_index":"hxrjjymdhcll50bpgx","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}],"loopType":1}},{"id":3,"index":4,"parentId":0,"type":1,"option":8,"title":"循环","sequence":[6,5,14],"isInLoop":false,"position":2,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":"3","pathList":"","textList":"1~2\n3~4","code":"","waitTime":0,"exitCount":0,"historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0}},{"id":7,"index":5,"parentId":3,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":3,"tabIndex":-1,"useLoop":true,"xpath":"//*[@id=\"key\"]","iframe":false,"wait":1,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"","index":1,"allXPaths":["/html/body/div[4]/div[1]/div[2]/div[1]/input[1]","//input[contains(., '')]","id(\"key\")","//INPUT[@class='text defcolor']","/html/body/div[last()-6]/div/div[last()-2]/div/input"]}},{"id":6,"index":6,"parentId":3,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":1,"tabIndex":0,"useLoop":true,"xpath":"//*[@id=\"key\"]","iframe":false,"wait":1,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"","index":2}},{"id":2,"index":7,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":1,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"codeMode":"5","code":"self.a = 15","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":4,"index":8,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":3,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"codeMode":"5","code":"print(self.a, \"sdf---------------\")\nself.a += 222\nprint(self.a, \"sdf---------------\")","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":-1,"index":9,"parentId":0,"type":2,"option":9,"title":"判断条件","sequence":[10,11],"isInLoop":false,"position":5,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0}},{"id":-1,"parentId":6,"index":10,"type":3,"option":10,"title":"条件分支","sequence":[],"isInLoop":false,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":0},{"id":-1,"parentId":6,"index":11,"type":3,"option":10,"title":"条件分支","sequence":[],"isInLoop":false,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":1},{"id":11,"index":12,"parentId":5,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":2,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"//*[@id=\"key\"]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"Field[\"参数2_链接地址\"]+Field[\"自定义操作2\"]","index":0}},{"id":10,"index":13,"parentId":5,"type":0,"option":5,"title":"自定义操作2","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"codeMode":"6","code":"str(self.a) + \"TEST\"","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":8,"index":14,"parentId":3,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":2,"parameters":{"history":1,"tabIndex":0,"useLoop":true,"xpath":"//*[@id=\"key\"]","iframe":false,"wait":1,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"0","index":0}}]} \ No newline at end of file +{"id":205,"name":"京东全球版-专业的综合网上购物商城","url":"https://www.jd.com","links":"https://www.jd.com","create_time":"8/10/2023, 6:19:22 PM","update_time":"8/10/2023, 6:35:26 PM","version":"0.5.0","saveThreshold":10,"cloudflare":0,"environment":0,"maxViewLength":15,"recordLog":1,"outputFormat":"xlsx","saveName":"current_time","inputExcel":"","startFromExit":0,"containJudge":false,"desc":"https://www.jd.com","inputParameters":[{"id":0,"name":"urlList_0","nodeId":1,"nodeName":"打开网页","value":"https://www.jd.com","desc":"要采集的网址列表,多行以\\n分开","type":"text","exampleValue":"https://www.jd.com"},{"id":1,"name":"loopText_1","nodeId":4,"nodeName":"循环","desc":"要输入的文本/网址,多行以\\n分开","type":"text","exampleValue":"1~2\n3~4","value":"1~2\n3~4"},{"id":2,"name":"inputText_2","nodeName":"输入文字","nodeId":12,"desc":"要输入的文本,如京东搜索框输入:电脑","type":"text","exampleValue":"Field[\"参数2_链接地址\"]+Field[\"自定义操作2\"]","value":"Field[\"参数2_链接地址\"]+Field[\"自定义操作2\"]"}],"outputParameters":[{"id":0,"name":"参数1_链接文本","desc":"","type":"text","recordASField":1,"exampleValue":"手机"},{"id":1,"name":"参数2_链接地址","desc":"","type":"text","recordASField":1,"exampleValue":"https://shouji.jd.com/"},{"id":2,"name":"自定义操作","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""},{"id":3,"name":"自定义操作","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""},{"id":4,"name":"自定义操作2","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""}],"graph":[{"index":0,"id":0,"parentId":0,"type":-1,"option":0,"title":"root","sequence":[1,7,4,8,2],"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":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,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"url":"https://www.jd.com","links":"https://www.jd.com","maxWaitTime":10,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"cookies":""}},{"id":5,"index":2,"parentId":0,"type":1,"option":8,"title":"循环","sequence":[3,13,12],"isInLoop":false,"position":4,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"/html/body/div[5]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div/a","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":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[5]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/a[1]","//a[contains(., '手机')]","/html/body/div[last()-5]/div/div[last()-4]/div/div[last()-2]/div/div/div/div[last()-1]/div[last()-12]/a[last()-1]"]}},{"id":9,"index":3,"parentId":5,"type":0,"option":3,"title":"提取数据","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"paras":[{"nodeType":1,"contentType":0,"relative":true,"name":"参数1_链接文本","desc":"","extractType":0,"relativeXPath":"","allXPaths":"","exampleValues":[{"num":0,"value":"手机"}],"unique_index":"hxrjjymdhcll50bpgx","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":2,"contentType":0,"relative":true,"name":"参数2_链接地址","desc":"","relativeXPath":"","allXPaths":"","exampleValues":[{"num":0,"value":"https://shouji.jd.com/"}],"unique_index":"hxrjjymdhcll50bpgx","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}],"loopType":1}},{"id":3,"index":4,"parentId":0,"type":1,"option":8,"title":"循环","sequence":[6,5,14],"isInLoop":false,"position":2,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":"3","pathList":"","textList":"1~2\n3~4","code":"","waitTime":0,"exitCount":0,"historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0}},{"id":7,"index":5,"parentId":3,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":3,"tabIndex":-1,"useLoop":true,"xpath":"//*[@id=\"key\"]","iframe":false,"wait":1,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"","index":1,"allXPaths":["/html/body/div[4]/div[1]/div[2]/div[1]/input[1]","//input[contains(., '')]","id(\"key\")","//INPUT[@class='text defcolor']","/html/body/div[last()-6]/div/div[last()-2]/div/input"]}},{"id":6,"index":6,"parentId":3,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":1,"tabIndex":0,"useLoop":true,"xpath":"//*[@id=\"key\"]","iframe":false,"wait":1,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"","index":2}},{"id":2,"index":7,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":1,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"codeMode":"5","code":"self.a = 15","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":4,"index":8,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":3,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"codeMode":"5","code":"print(self.a, \"sdf---------------\")\nself.a += 222\nprint(self.a, \"sdf---------------\")","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":-1,"index":9,"parentId":0,"type":2,"option":9,"title":"判断条件","sequence":[10,11],"isInLoop":false,"position":5,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0}},{"id":-1,"parentId":6,"index":10,"type":3,"option":10,"title":"条件分支","sequence":[],"isInLoop":false,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":0},{"id":-1,"parentId":6,"index":11,"type":3,"option":10,"title":"条件分支","sequence":[],"isInLoop":false,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":1},{"id":11,"index":12,"parentId":5,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":2,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"//*[@id=\"key\"]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"Field[\"参数2_链接地址\"]+Field[\"自定义操作2\"]","index":0}},{"id":10,"index":13,"parentId":5,"type":0,"option":5,"title":"自定义操作2","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"codeMode":"6","code":"str(self.a) + \"TEST\"","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":8,"index":14,"parentId":3,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":2,"parameters":{"history":1,"tabIndex":0,"useLoop":true,"xpath":"//*[@id=\"key\"]","iframe":false,"wait":1,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"0","index":0}}]} \ No newline at end of file diff --git a/.temp_to_pub/EasySpider_windows_x64/tasks/293.json b/.temp_to_pub/EasySpider_windows_x64/tasks/293.json new file mode 100644 index 0000000..4b048e6 --- /dev/null +++ b/.temp_to_pub/EasySpider_windows_x64/tasks/293.json @@ -0,0 +1 @@ +{"id":293,"name":"【软科排名】-中国最好学科排名|最权威的大学学科|高校学科排名","url":"https://www.shanghairanking.cn/rankings/bcsr/2023","links":"https://www.shanghairanking.cn/rankings/bcsr/2023","create_time":"12/15/2023, 1:04:10 PM","update_time":"12/15/2023, 1:17:18 PM","version":"0.6.0","saveThreshold":10,"quitWaitTime":60,"environment":0,"maximizeWindow":0,"maxViewLength":15,"recordLog":1,"outputFormat":"xlsx","saveName":"current_time","dataWriteMode":1,"inputExcel":"","startFromExit":0,"pauseKey":"p","containJudge":true,"browser":"chrome","desc":"https://www.shanghairanking.cn/rankings/bcsr/2023","inputParameters":[{"id":0,"name":"urlList_0","nodeId":1,"nodeName":"打开网页","value":"https://www.shanghairanking.cn/rankings/bcsr/2023","desc":"要采集的网址列表,多行以\\n分开","type":"text","exampleValue":"https://www.shanghairanking.cn/rankings/bcsr/2023"},{"id":1,"name":"loopTimes_1","nodeId":6,"nodeName":"循环点击下一页","desc":"循环循环点击下一页执行的次数(0代表无限循环)","type":"int","exampleValue":0,"value":0}],"outputParameters":[{"id":0,"name":"参数1_文本","desc":"","type":"text","recordASField":1,"exampleValue":"1"},{"id":1,"name":"参数2_文本","desc":"","type":"text","recordASField":1,"exampleValue":"1"},{"id":2,"name":"参数3_文本","desc":"","type":"text","recordASField":1,"exampleValue":"前3%"},{"id":3,"name":"参数4_图片地址","desc":"","type":"text","recordASField":1,"exampleValue":"https://www.shanghairanking.cn/_uni/logo/28312850.png"},{"id":4,"name":"参数5_链接文本","desc":"","type":"text","recordASField":1,"exampleValue":"复旦大学\n "},{"id":5,"name":"参数6_链接地址","desc":"","type":"text","recordASField":1,"exampleValue":"/institution/fudan-university"},{"id":6,"name":"参数7_图片地址","desc":"","type":"text","recordASField":1,"exampleValue":"/_nuxt/img/uncollection.388fe56.svg"},{"id":7,"name":"参数8_链接文本","desc":"","type":"text","recordASField":1,"exampleValue":"\n "},{"id":8,"name":"参数9_链接地址","desc":"","type":"text","recordASField":1,"exampleValue":"/institution/fudan-university"},{"id":9,"name":"参数10_文本","desc":"","type":"text","recordASField":1,"exampleValue":"1044"},{"id":10,"name":"跳过当前循环","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""},{"id":11,"name":"执行Python代码","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""}],"graph":[{"index":0,"id":0,"parentId":0,"type":-1,"option":0,"title":"root","sequence":[1,2],"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":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,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"url":"https://www.shanghairanking.cn/rankings/bcsr/2023","links":"https://www.shanghairanking.cn/rankings/bcsr/2023","maxWaitTime":10,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"cookies":""}},{"id":2,"index":2,"parentId":0,"type":1,"option":8,"title":"循环 - 不固定元素列表","sequence":[8,6],"isInLoop":false,"position":1,"parameters":{"history":7,"tabIndex":-1,"useLoop":false,"xpath":"//a[1]/span[2]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":1,"pathList":"//*[@id=\"01\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"02\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"02\"]/div[2]/div[2]/a[1]/span[2]","code":"","waitTime":0,"exitCount":0,"exitElement":"//body","historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":""}},{"id":9,"index":3,"parentId":5,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":7,"tabIndex":-1,"useLoop":true,"xpath":"","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"newTab":0,"maxWaitTime":10,"params":[],"alertHandleType":0,"allXPaths":""}},{"id":7,"index":4,"parentId":4,"type":1,"option":8,"title":"循环采集数据","sequence":[5],"isInLoop":true,"position":0,"parameters":{"history":8,"tabIndex":-1,"useLoop":false,"xpath":"/html/body/div[1]/div[1]/div[1]/div[2]/div[1]/div[3]/div[2]/div[1]/div[1]/div[2]/table[1]/tbody[1]/tr","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":1,"pathList":"","code":"","waitTime":0,"exitCount":0,"exitElement":"//body","historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":["/html/body/div[1]/div[1]/div[1]/div[2]/div[1]/div[3]/div[2]/div[1]/div[1]/div[2]/table[1]/tbody[1]/tr[1]","//tr[contains(., '')]","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]"]}},{"id":12,"index":5,"parentId":7,"type":0,"option":3,"title":"提取数据","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":8,"tabIndex":-1,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"newLine":1,"params":[{"nodeType":0,"contentType":1,"relative":true,"name":"参数1_文本","desc":"","relativeXPath":"/td[1]/div[1]","allXPaths":["/td[1]/div[1]","//div[contains(., '')]","//DIV[@class='ranking']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-4]/div"],"exampleValues":[{"num":0,"value":"1"}],"unique_index":"/td[1]/div[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数2_文本","desc":"","relativeXPath":"/td[2]/span[1]","allXPaths":["/td[2]/span[1]","//span[contains(., '1')]","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-3]/span"],"exampleValues":[{"num":0,"value":"1"}],"unique_index":"/td[2]/span[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"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(., '')]","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-2]"],"exampleValues":[{"num":0,"value":"前3%"}],"unique_index":"/td[3]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":4,"contentType":1,"relative":true,"name":"参数4_图片地址","desc":"","relativeXPath":"/td[4]/div[1]/div[1]/img[1]","allXPaths":["/td[4]/div[1]/div[1]/img[1]","//img[contains(., '')]","//IMG[@class='univ-logo']","//IMG[@alt='复旦大学']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div[last()-1]/img"],"exampleValues":[{"num":0,"value":"https://www.shanghairanking.cn/_uni/logo/28312850.png"}],"unique_index":"/td[4]/div[1]/div[1]/img[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":1,"contentType":0,"relative":true,"name":"参数5_链接文本","desc":"","relativeXPath":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","allXPaths":["/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","//a[contains(., '复旦大学')]","//A[@class='name-cn']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div[last()-1]/div/div/a"],"exampleValues":[{"num":0,"value":"复旦大学\n "}],"unique_index":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":2,"contentType":0,"relative":true,"name":"参数6_链接地址","desc":"","relativeXPath":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","allXPaths":["/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","//a[contains(., '复旦大学')]","//A[@class='name-cn']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div[last()-1]/div/div/a"],"exampleValues":[{"num":0,"value":"/institution/fudan-university"}],"unique_index":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":4,"contentType":1,"relative":true,"name":"参数7_图片地址","desc":"","relativeXPath":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/img[1]","allXPaths":["/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/img[1]","//img[contains(., '')]","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div[last()-1]/div/div/div/img"],"exampleValues":[{"num":0,"value":"/_nuxt/img/uncollection.388fe56.svg"}],"unique_index":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/img[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":1,"contentType":0,"relative":true,"name":"参数8_链接文本","desc":"","relativeXPath":"/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","allXPaths":["/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","//a[contains(., '')]","//A[@class='name-en']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div/div/div/a"],"exampleValues":[{"num":0,"value":"\n "}],"unique_index":"/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":2,"contentType":0,"relative":true,"name":"参数9_链接地址","desc":"","relativeXPath":"/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","allXPaths":["/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","//a[contains(., '')]","//A[@class='name-en']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div/div/div/a"],"exampleValues":[{"num":0,"value":"/institution/fudan-university"}],"unique_index":"/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数10_文本","desc":"","relativeXPath":"/td[5]","allXPaths":["/td[5]","//td[contains(., '')]","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td"],"exampleValues":[{"num":0,"value":"1044"}],"unique_index":"/td[5]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}]}},{"id":4,"index":6,"parentId":2,"type":1,"option":8,"title":"循环点击下一页","sequence":[4,7],"isInLoop":true,"position":1,"parameters":{"history":8,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"ant-pagination-next\")]/a[1]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":0,"pathList":"","code":"","waitTime":0,"exitCount":0,"exitElement":"//body","historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":["/html/body/div[1]/div[1]/div[1]/div[2]/div[1]/div[3]/div[2]/div[1]/div[1]/ul[1]/li[5]/a[1]","//a[contains(., '')]","//A[@class='ant-pagination-item-link']","/html/body/div[last()-3]/div/div/div[last()-2]/div/div/div/div[last()-1]/div/ul/li[last()-1]/a"]}},{"id":8,"index":7,"parentId":4,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":8,"tabIndex":-1,"useLoop":true,"xpath":"","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"newTab":0,"maxWaitTime":10,"params":[],"alertHandleType":0,"allXPaths":["/html/body/div[1]/div[1]/div[1]/div[2]/div[1]/div[3]/div[2]/div[1]/div[1]/ul[1]/li[5]/a[1]","//a[contains(., '')]","//A[@class='ant-pagination-item-link']","/html/body/div[last()-3]/div/div/div[last()-2]/div/div/div/div[last()-1]/div/ul/li[last()-1]/a"]}},{"id":3,"index":8,"parentId":2,"type":2,"option":9,"title":"判断条件 - 从左往右依次判断","sequence":[11,14],"isInLoop":true,"position":0,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0}},{"id":-1,"parentId":3,"index":9,"type":3,"option":10,"title":"无条件","sequence":[],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":1},{"id":-1,"parentId":3,"index":10,"type":3,"option":10,"title":"无条件","sequence":[],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":1},{"index":11,"id":5,"parentId":3,"type":3,"option":10,"title":"针对当前循环项的JavaScript命令返回值","sequence":[3],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":7,"value":"","code":"return arguments[0].innerText.length < 3","waitTime":0},"position":0},{"id":-1,"index":12,"parentId":0,"type":1,"option":8,"title":"循环采集数据","sequence":[13],"isInLoop":false,"position":1,"parameters":{"history":9,"tabIndex":-1,"useLoop":false,"xpath":"/html/body/div[1]/div[1]/div[1]/div[2]/div[2]/div[1]/div/div[1]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":1,"pathList":"","code":"","waitTime":0,"exitCount":0,"exitElement":"//body","historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":["/html/body/div[1]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]","//div[contains(., '01 哲学')]","//DIV[@class='subject-category']","/html/body/div[last()-3]/div/div/div[last()-1]/div/div[last()-1]/div[last()-11]/div[last()-1]"]}},{"id":-1,"index":13,"parentId":2,"type":0,"option":3,"title":"提取数据","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":9,"tabIndex":-1,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"newLine":1,"params":[{"nodeType":0,"contentType":0,"relative":true,"name":"参数11_文本","desc":"","extractType":0,"relativeXPath":"","allXPaths":"","exampleValues":[{"num":0,"value":"01 哲学"}],"unique_index":"y4bvlameqalq665424","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}]}},{"index":14,"id":6,"parentId":3,"type":3,"option":10,"title":"无条件","sequence":[16,15],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":1},{"id":11,"index":15,"parentId":6,"type":0,"option":5,"title":"跳过当前循环","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"newLine":1,"codeMode":4,"code":"","waitTime":0,"recordASField":0,"paraType":"text","emailConfig":{"host":"","port":465,"username":"","password":"","from":"","to":"","subject":"","content":""}}},{"id":10,"index":16,"parentId":6,"type":0,"option":5,"title":"执行Python代码","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"newLine":1,"codeMode":5,"code":"print(\"skip\")","waitTime":0,"recordASField":0,"paraType":"text","emailConfig":{"host":"","port":465,"username":"","password":"","from":"","to":"","subject":"","content":""}}}]} \ No newline at end of file diff --git a/.temp_to_pub/EasySpider_windows_x64/tasks/294.json b/.temp_to_pub/EasySpider_windows_x64/tasks/294.json new file mode 100644 index 0000000..1e43a17 --- /dev/null +++ b/.temp_to_pub/EasySpider_windows_x64/tasks/294.json @@ -0,0 +1 @@ +{"id":294,"name":"【软科排名】-中国最好学科排名|最权威的大学学科|高校学科排名","url":"https://www.shanghairanking.cn/rankings/bcsr/2023","links":"https://www.shanghairanking.cn/rankings/bcsr/2023","create_time":"12/15/2023, 2:16:38 PM","update_time":"12/15/2023, 2:17:30 PM","version":"0.6.0","saveThreshold":10,"quitWaitTime":60,"environment":0,"maximizeWindow":0,"maxViewLength":15,"recordLog":1,"outputFormat":"xlsx","saveName":"current_time","dataWriteMode":1,"inputExcel":"","startFromExit":0,"pauseKey":"p","containJudge":true,"browser":"chrome","desc":"https://www.shanghairanking.cn/rankings/bcsr/2023","inputParameters":[{"id":0,"name":"urlList_0","nodeId":1,"nodeName":"打开网页","value":"https://www.shanghairanking.cn/rankings/bcsr/2023","desc":"要采集的网址列表,多行以\\n分开","type":"text","exampleValue":"https://www.shanghairanking.cn/rankings/bcsr/2023"},{"id":1,"name":"loopTimes_1","nodeId":6,"nodeName":"循环点击下一页","desc":"循环循环点击下一页执行的次数(0代表无限循环)","type":"int","exampleValue":0,"value":0}],"outputParameters":[{"id":0,"name":"参数1_文本","desc":"","type":"text","recordASField":1,"exampleValue":"1"},{"id":1,"name":"参数2_文本","desc":"","type":"text","recordASField":1,"exampleValue":"1"},{"id":2,"name":"参数3_文本","desc":"","type":"text","recordASField":1,"exampleValue":"前3%"},{"id":3,"name":"参数4_图片地址","desc":"","type":"text","recordASField":1,"exampleValue":"https://www.shanghairanking.cn/_uni/logo/28312850.png"},{"id":4,"name":"参数5_链接文本","desc":"","type":"text","recordASField":1,"exampleValue":"复旦大学\n "},{"id":5,"name":"参数6_链接地址","desc":"","type":"text","recordASField":1,"exampleValue":"/institution/fudan-university"},{"id":6,"name":"参数7_图片地址","desc":"","type":"text","recordASField":1,"exampleValue":"/_nuxt/img/uncollection.388fe56.svg"},{"id":7,"name":"参数8_链接文本","desc":"","type":"text","recordASField":1,"exampleValue":"\n "},{"id":8,"name":"参数9_链接地址","desc":"","type":"text","recordASField":1,"exampleValue":"/institution/fudan-university"},{"id":9,"name":"参数10_文本","desc":"","type":"text","recordASField":1,"exampleValue":"1044"},{"id":10,"name":"跳过当前循环","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""},{"id":11,"name":"执行Python代码","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""}],"graph":[{"index":0,"id":0,"parentId":0,"type":-1,"option":0,"title":"root","sequence":[1,2],"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":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,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"url":"https://www.shanghairanking.cn/rankings/bcsr/2023","links":"https://www.shanghairanking.cn/rankings/bcsr/2023","maxWaitTime":10,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"cookies":""}},{"id":2,"index":2,"parentId":0,"type":1,"option":8,"title":"循环 - 固定元素列表","sequence":[8,6],"isInLoop":false,"position":1,"parameters":{"history":7,"tabIndex":-1,"useLoop":false,"xpath":"//a[1]/span[2]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":2,"pathList":"//*[@id=\"01\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"02\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"04\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"04\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"04\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"05\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"05\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"05\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"06\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"06\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"06\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[6]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[7]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[8]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[9]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[10]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[11]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[12]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[13]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[14]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[6]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[7]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[8]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[9]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[10]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[11]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[12]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[13]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[14]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[15]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[16]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[17]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[18]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[19]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[20]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[21]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[22]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[23]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[24]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[25]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[26]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[27]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[28]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[29]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[30]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[31]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[32]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[33]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[34]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[35]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[36]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[37]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[38]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[6]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[7]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[8]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[9]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[6]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[7]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[8]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[9]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[10]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[5]/a[1]/span[2]","code":"","waitTime":0,"exitCount":0,"exitElement":"//body","historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":""}},{"id":9,"index":3,"parentId":5,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":7,"tabIndex":-1,"useLoop":true,"xpath":"","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"newTab":0,"maxWaitTime":10,"params":[],"alertHandleType":0,"allXPaths":""}},{"id":7,"index":4,"parentId":4,"type":1,"option":8,"title":"循环采集数据","sequence":[5],"isInLoop":true,"position":0,"parameters":{"history":8,"tabIndex":-1,"useLoop":false,"xpath":"/html/body/div[1]/div[1]/div[1]/div[2]/div[1]/div[3]/div[2]/div[1]/div[1]/div[2]/table[1]/tbody[1]/tr","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":1,"pathList":"","code":"","waitTime":0,"exitCount":0,"exitElement":"//body","historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":["/html/body/div[1]/div[1]/div[1]/div[2]/div[1]/div[3]/div[2]/div[1]/div[1]/div[2]/table[1]/tbody[1]/tr[1]","//tr[contains(., '')]","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]"]}},{"id":12,"index":5,"parentId":7,"type":0,"option":3,"title":"提取数据","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":8,"tabIndex":-1,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"newLine":1,"params":[{"nodeType":0,"contentType":1,"relative":true,"name":"参数1_文本","desc":"","relativeXPath":"/td[1]/div[1]","allXPaths":["/td[1]/div[1]","//div[contains(., '')]","//DIV[@class='ranking']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-4]/div"],"exampleValues":[{"num":0,"value":"1"}],"unique_index":"/td[1]/div[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数2_文本","desc":"","relativeXPath":"/td[2]/span[1]","allXPaths":["/td[2]/span[1]","//span[contains(., '1')]","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-3]/span"],"exampleValues":[{"num":0,"value":"1"}],"unique_index":"/td[2]/span[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"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(., '')]","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-2]"],"exampleValues":[{"num":0,"value":"前3%"}],"unique_index":"/td[3]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":4,"contentType":1,"relative":true,"name":"参数4_图片地址","desc":"","relativeXPath":"/td[4]/div[1]/div[1]/img[1]","allXPaths":["/td[4]/div[1]/div[1]/img[1]","//img[contains(., '')]","//IMG[@class='univ-logo']","//IMG[@alt='复旦大学']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div[last()-1]/img"],"exampleValues":[{"num":0,"value":"https://www.shanghairanking.cn/_uni/logo/28312850.png"}],"unique_index":"/td[4]/div[1]/div[1]/img[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":1,"contentType":0,"relative":true,"name":"参数5_链接文本","desc":"","relativeXPath":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","allXPaths":["/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","//a[contains(., '复旦大学')]","//A[@class='name-cn']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div[last()-1]/div/div/a"],"exampleValues":[{"num":0,"value":"复旦大学\n "}],"unique_index":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":2,"contentType":0,"relative":true,"name":"参数6_链接地址","desc":"","relativeXPath":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","allXPaths":["/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","//a[contains(., '复旦大学')]","//A[@class='name-cn']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div[last()-1]/div/div/a"],"exampleValues":[{"num":0,"value":"/institution/fudan-university"}],"unique_index":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":4,"contentType":1,"relative":true,"name":"参数7_图片地址","desc":"","relativeXPath":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/img[1]","allXPaths":["/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/img[1]","//img[contains(., '')]","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div[last()-1]/div/div/div/img"],"exampleValues":[{"num":0,"value":"/_nuxt/img/uncollection.388fe56.svg"}],"unique_index":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/img[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":1,"contentType":0,"relative":true,"name":"参数8_链接文本","desc":"","relativeXPath":"/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","allXPaths":["/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","//a[contains(., '')]","//A[@class='name-en']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div/div/div/a"],"exampleValues":[{"num":0,"value":"\n "}],"unique_index":"/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":2,"contentType":0,"relative":true,"name":"参数9_链接地址","desc":"","relativeXPath":"/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","allXPaths":["/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","//a[contains(., '')]","//A[@class='name-en']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div/div/div/a"],"exampleValues":[{"num":0,"value":"/institution/fudan-university"}],"unique_index":"/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数10_文本","desc":"","relativeXPath":"/td[5]","allXPaths":["/td[5]","//td[contains(., '')]","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td"],"exampleValues":[{"num":0,"value":"1044"}],"unique_index":"/td[5]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}]}},{"id":4,"index":6,"parentId":2,"type":1,"option":8,"title":"循环点击下一页","sequence":[4,7],"isInLoop":true,"position":1,"parameters":{"history":8,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"ant-pagination-next\")]/a[1]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":0,"pathList":"","code":"","waitTime":0,"exitCount":0,"exitElement":"//body","historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":["/html/body/div[1]/div[1]/div[1]/div[2]/div[1]/div[3]/div[2]/div[1]/div[1]/ul[1]/li[5]/a[1]","//a[contains(., '')]","//A[@class='ant-pagination-item-link']","/html/body/div[last()-3]/div/div/div[last()-2]/div/div/div/div[last()-1]/div/ul/li[last()-1]/a"]}},{"id":8,"index":7,"parentId":4,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":8,"tabIndex":-1,"useLoop":true,"xpath":"","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"newTab":0,"maxWaitTime":10,"params":[],"alertHandleType":0,"allXPaths":["/html/body/div[1]/div[1]/div[1]/div[2]/div[1]/div[3]/div[2]/div[1]/div[1]/ul[1]/li[5]/a[1]","//a[contains(., '')]","//A[@class='ant-pagination-item-link']","/html/body/div[last()-3]/div/div/div[last()-2]/div/div/div/div[last()-1]/div/ul/li[last()-1]/a"]}},{"id":3,"index":8,"parentId":2,"type":2,"option":9,"title":"判断条件 - 从左往右依次判断","sequence":[11,14],"isInLoop":true,"position":0,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0}},{"id":-1,"parentId":3,"index":9,"type":3,"option":10,"title":"无条件","sequence":[],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":1},{"id":-1,"parentId":3,"index":10,"type":3,"option":10,"title":"无条件","sequence":[],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":1},{"index":11,"id":5,"parentId":3,"type":3,"option":10,"title":"针对当前循环项的JavaScript命令返回值","sequence":[3],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":7,"value":"","code":"return arguments[0].innerText.length < 3","waitTime":0},"position":0},{"id":-1,"index":12,"parentId":0,"type":1,"option":8,"title":"循环采集数据","sequence":[13],"isInLoop":false,"position":1,"parameters":{"history":9,"tabIndex":-1,"useLoop":false,"xpath":"/html/body/div[1]/div[1]/div[1]/div[2]/div[2]/div[1]/div/div[1]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":1,"pathList":"","code":"","waitTime":0,"exitCount":0,"exitElement":"//body","historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":["/html/body/div[1]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]","//div[contains(., '01 哲学')]","//DIV[@class='subject-category']","/html/body/div[last()-3]/div/div/div[last()-1]/div/div[last()-1]/div[last()-11]/div[last()-1]"]}},{"id":-1,"index":13,"parentId":2,"type":0,"option":3,"title":"提取数据","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":9,"tabIndex":-1,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"newLine":1,"params":[{"nodeType":0,"contentType":0,"relative":true,"name":"参数11_文本","desc":"","extractType":0,"relativeXPath":"","allXPaths":"","exampleValues":[{"num":0,"value":"01 哲学"}],"unique_index":"y4bvlameqalq665424","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}]}},{"index":14,"id":6,"parentId":3,"type":3,"option":10,"title":"无条件","sequence":[16,15],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":1},{"id":11,"index":15,"parentId":6,"type":0,"option":5,"title":"跳过当前循环","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"newLine":1,"codeMode":4,"code":"","waitTime":0,"recordASField":0,"paraType":"text","emailConfig":{"host":"","port":465,"username":"","password":"","from":"","to":"","subject":"","content":""}}},{"id":10,"index":16,"parentId":6,"type":0,"option":5,"title":"执行Python代码","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"newLine":1,"codeMode":5,"code":"print(\"skip\")","waitTime":0,"recordASField":0,"paraType":"text","emailConfig":{"host":"","port":465,"username":"","password":"","from":"","to":"","subject":"","content":""}}},{"id":-1,"index":17,"parentId":2,"type":1,"option":8,"title":"循环点击每个元素","sequence":[18],"isInLoop":true,"position":0,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":2,"pathList":"//*[@id=\"01\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"02\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"04\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"04\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"04\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"05\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"05\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"05\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"06\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"06\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"06\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[6]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[7]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[8]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[9]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[10]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[11]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[12]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[13]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[14]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[6]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[7]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[8]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[9]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[10]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[11]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[12]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[13]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[14]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[15]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[16]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[17]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[18]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[19]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[20]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[21]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[22]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[23]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[24]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[25]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[26]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[27]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[28]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[29]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[30]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[31]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[32]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[33]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[34]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[35]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[36]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[37]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[38]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[6]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[7]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[8]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[9]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[6]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[7]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[8]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[9]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[10]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[5]/a[1]/span[2]","code":"","waitTime":0,"exitCount":0,"exitElement":"//body","historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":""}},{"id":-1,"index":18,"parentId":3,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":3,"tabIndex":-1,"useLoop":true,"xpath":"","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"newTab":1,"maxWaitTime":10,"params":[],"alertHandleType":0,"allXPaths":""}}]} \ No newline at end of file diff --git a/.temp_to_pub/EasySpider_windows_x64/tasks/295.json b/.temp_to_pub/EasySpider_windows_x64/tasks/295.json new file mode 100644 index 0000000..4eb2b55 --- /dev/null +++ b/.temp_to_pub/EasySpider_windows_x64/tasks/295.json @@ -0,0 +1 @@ +{"id":295,"name":"【软科排名】-中国最好学科排名|最权威的大学学科|高校学科排名","url":"https://www.shanghairanking.cn/rankings/bcsr/2023","links":"https://www.shanghairanking.cn/rankings/bcsr/2023","create_time":"12/15/2023, 2:19:03 PM","update_time":"12/15/2023, 2:21:18 PM","version":"0.6.0","saveThreshold":10,"quitWaitTime":60,"environment":0,"maximizeWindow":0,"maxViewLength":15,"recordLog":1,"outputFormat":"xlsx","saveName":"current_time","dataWriteMode":1,"inputExcel":"","startFromExit":0,"pauseKey":"p","containJudge":false,"browser":"chrome","desc":"https://www.shanghairanking.cn/rankings/bcsr/2023","inputParameters":[{"id":0,"name":"urlList_0","nodeId":1,"nodeName":"打开网页","value":"https://www.shanghairanking.cn/rankings/bcsr/2023","desc":"要采集的网址列表,多行以\\n分开","type":"text","exampleValue":"https://www.shanghairanking.cn/rankings/bcsr/2023"},{"id":1,"name":"loopTimes_1","nodeId":6,"nodeName":"循环点击下一页","desc":"循环循环点击下一页执行的次数(0代表无限循环)","type":"int","exampleValue":0,"value":0}],"outputParameters":[{"id":0,"name":"参数1_文本","desc":"","type":"text","recordASField":1,"exampleValue":"1"},{"id":1,"name":"参数2_文本","desc":"","type":"text","recordASField":1,"exampleValue":"1"},{"id":2,"name":"参数3_文本","desc":"","type":"text","recordASField":1,"exampleValue":"前3%"},{"id":3,"name":"参数4_图片地址","desc":"","type":"text","recordASField":1,"exampleValue":"https://www.shanghairanking.cn/_uni/logo/28312850.png"},{"id":4,"name":"参数5_链接文本","desc":"","type":"text","recordASField":1,"exampleValue":"复旦大学\n "},{"id":5,"name":"参数6_链接地址","desc":"","type":"text","recordASField":1,"exampleValue":"/institution/fudan-university"},{"id":6,"name":"参数7_图片地址","desc":"","type":"text","recordASField":1,"exampleValue":"/_nuxt/img/uncollection.388fe56.svg"},{"id":7,"name":"参数8_链接文本","desc":"","type":"text","recordASField":1,"exampleValue":"\n "},{"id":8,"name":"参数9_链接地址","desc":"","type":"text","recordASField":1,"exampleValue":"/institution/fudan-university"},{"id":9,"name":"参数10_文本","desc":"","type":"text","recordASField":1,"exampleValue":"1044"}],"graph":[{"index":0,"id":0,"parentId":0,"type":-1,"option":0,"title":"root","sequence":[1,2],"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":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,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"url":"https://www.shanghairanking.cn/rankings/bcsr/2023","links":"https://www.shanghairanking.cn/rankings/bcsr/2023","maxWaitTime":10,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"cookies":""}},{"id":2,"index":2,"parentId":0,"type":1,"option":8,"title":"循环 - 不固定元素列表","sequence":[3,6],"isInLoop":false,"position":1,"parameters":{"history":7,"tabIndex":-1,"useLoop":false,"xpath":"//a[1]/span[2]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":1,"pathList":"//*[@id=\"01\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"02\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"04\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"04\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"04\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"05\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"05\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"05\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"06\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"06\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"06\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[6]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[7]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[8]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[9]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[10]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[11]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[12]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[13]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[14]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[6]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[7]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[8]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[9]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[10]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[11]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[12]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[13]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[14]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[15]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[16]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[17]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[18]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[19]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[20]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[21]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[22]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[23]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[24]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[25]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[26]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[27]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[28]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[29]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[30]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[31]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[32]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[33]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[34]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[35]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[36]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[37]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[38]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[6]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[7]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[8]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[9]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[6]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[7]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[8]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[9]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[10]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[5]/a[1]/span[2]","code":"","waitTime":0,"exitCount":0,"exitElement":"//body","historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":""}},{"id":3,"index":3,"parentId":2,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":7,"tabIndex":-1,"useLoop":true,"xpath":"","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"newTab":0,"maxWaitTime":10,"params":[],"alertHandleType":0,"allXPaths":""}},{"id":5,"index":4,"parentId":4,"type":1,"option":8,"title":"循环采集数据","sequence":[5],"isInLoop":true,"position":0,"parameters":{"history":8,"tabIndex":-1,"useLoop":false,"xpath":"/html/body/div[1]/div[1]/div[1]/div[2]/div[1]/div[3]/div[2]/div[1]/div[1]/div[2]/table[1]/tbody[1]/tr","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":1,"pathList":"","code":"","waitTime":0,"exitCount":0,"exitElement":"//body","historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":["/html/body/div[1]/div[1]/div[1]/div[2]/div[1]/div[3]/div[2]/div[1]/div[1]/div[2]/table[1]/tbody[1]/tr[1]","//tr[contains(., '')]","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]"]}},{"id":7,"index":5,"parentId":5,"type":0,"option":3,"title":"提取数据","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":8,"tabIndex":-1,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"newLine":1,"params":[{"nodeType":0,"contentType":1,"relative":true,"name":"参数1_文本","desc":"","relativeXPath":"/td[1]/div[1]","allXPaths":["/td[1]/div[1]","//div[contains(., '')]","//DIV[@class='ranking']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-4]/div"],"exampleValues":[{"num":0,"value":"1"}],"unique_index":"/td[1]/div[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数2_文本","desc":"","relativeXPath":"/td[2]/span[1]","allXPaths":["/td[2]/span[1]","//span[contains(., '1')]","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-3]/span"],"exampleValues":[{"num":0,"value":"1"}],"unique_index":"/td[2]/span[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"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(., '')]","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-2]"],"exampleValues":[{"num":0,"value":"前3%"}],"unique_index":"/td[3]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":4,"contentType":1,"relative":true,"name":"参数4_图片地址","desc":"","relativeXPath":"/td[4]/div[1]/div[1]/img[1]","allXPaths":["/td[4]/div[1]/div[1]/img[1]","//img[contains(., '')]","//IMG[@class='univ-logo']","//IMG[@alt='复旦大学']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div[last()-1]/img"],"exampleValues":[{"num":0,"value":"https://www.shanghairanking.cn/_uni/logo/28312850.png"}],"unique_index":"/td[4]/div[1]/div[1]/img[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":1,"contentType":0,"relative":true,"name":"参数5_链接文本","desc":"","relativeXPath":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","allXPaths":["/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","//a[contains(., '复旦大学')]","//A[@class='name-cn']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div[last()-1]/div/div/a"],"exampleValues":[{"num":0,"value":"复旦大学\n "}],"unique_index":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":2,"contentType":0,"relative":true,"name":"参数6_链接地址","desc":"","relativeXPath":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","allXPaths":["/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","//a[contains(., '复旦大学')]","//A[@class='name-cn']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div[last()-1]/div/div/a"],"exampleValues":[{"num":0,"value":"/institution/fudan-university"}],"unique_index":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":4,"contentType":1,"relative":true,"name":"参数7_图片地址","desc":"","relativeXPath":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/img[1]","allXPaths":["/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/img[1]","//img[contains(., '')]","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div[last()-1]/div/div/div/img"],"exampleValues":[{"num":0,"value":"/_nuxt/img/uncollection.388fe56.svg"}],"unique_index":"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/img[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":1,"contentType":0,"relative":true,"name":"参数8_链接文本","desc":"","relativeXPath":"/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","allXPaths":["/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","//a[contains(., '')]","//A[@class='name-en']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div/div/div/a"],"exampleValues":[{"num":0,"value":"\n "}],"unique_index":"/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":2,"contentType":0,"relative":true,"name":"参数9_链接地址","desc":"","relativeXPath":"/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","allXPaths":["/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","//a[contains(., '')]","//A[@class='name-en']","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div/div/div/a"],"exampleValues":[{"num":0,"value":"/institution/fudan-university"}],"unique_index":"/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":1,"relative":true,"name":"参数10_文本","desc":"","relativeXPath":"/td[5]","allXPaths":["/td[5]","//td[contains(., '')]","/html/body/div[last()-5]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td"],"exampleValues":[{"num":0,"value":"1044"}],"unique_index":"/td[5]","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}]}},{"id":4,"index":6,"parentId":2,"type":1,"option":8,"title":"循环点击下一页","sequence":[4,7],"isInLoop":true,"position":1,"parameters":{"history":8,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"ant-pagination-next\")]/a[1]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":0,"pathList":"","code":"","waitTime":0,"exitCount":0,"exitElement":"//body","historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":["/html/body/div[1]/div[1]/div[1]/div[2]/div[1]/div[3]/div[2]/div[1]/div[1]/ul[1]/li[5]/a[1]","//a[contains(., '')]","//A[@class='ant-pagination-item-link']","/html/body/div[last()-3]/div/div/div[last()-2]/div/div/div/div[last()-1]/div/ul/li[last()-1]/a"]}},{"id":6,"index":7,"parentId":4,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":8,"tabIndex":-1,"useLoop":true,"xpath":"","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"newTab":0,"maxWaitTime":10,"params":[],"alertHandleType":0,"allXPaths":["/html/body/div[1]/div[1]/div[1]/div[2]/div[1]/div[3]/div[2]/div[1]/div[1]/ul[1]/li[5]/a[1]","//a[contains(., '')]","//A[@class='ant-pagination-item-link']","/html/body/div[last()-3]/div/div/div[last()-2]/div/div/div/div[last()-1]/div/ul/li[last()-1]/a"]}},{"id":-1,"index":8,"parentId":2,"type":2,"option":9,"title":"判断条件 - 从左往右依次判断","sequence":[11,14,19],"isInLoop":true,"position":0,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0}},{"id":-1,"parentId":3,"index":9,"type":3,"option":10,"title":"无条件","sequence":[],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":1},{"id":-1,"parentId":3,"index":10,"type":3,"option":10,"title":"无条件","sequence":[],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":1},{"index":11,"id":-1,"parentId":3,"type":3,"option":10,"title":"针对当前循环项的JavaScript命令返回值","sequence":[],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":7,"value":"","code":"return arguments[0].innerText.length < 3","waitTime":0},"position":0},{"id":-1,"index":12,"parentId":0,"type":1,"option":8,"title":"循环采集数据","sequence":[13],"isInLoop":false,"position":1,"parameters":{"history":9,"tabIndex":-1,"useLoop":false,"xpath":"/html/body/div[1]/div[1]/div[1]/div[2]/div[2]/div[1]/div/div[1]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":1,"pathList":"","code":"","waitTime":0,"exitCount":0,"exitElement":"//body","historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":["/html/body/div[1]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]","//div[contains(., '01 哲学')]","//DIV[@class='subject-category']","/html/body/div[last()-3]/div/div/div[last()-1]/div/div[last()-1]/div[last()-11]/div[last()-1]"]}},{"id":-1,"index":13,"parentId":2,"type":0,"option":3,"title":"提取数据","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":9,"tabIndex":-1,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"newLine":1,"params":[{"nodeType":0,"contentType":0,"relative":true,"name":"参数11_文本","desc":"","extractType":0,"relativeXPath":"","allXPaths":"","exampleValues":[{"num":0,"value":"01 哲学"}],"unique_index":"y4bvlameqalq665424","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}]}},{"index":14,"id":-1,"parentId":3,"type":3,"option":10,"title":"无条件","sequence":[16,15],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":1},{"id":-1,"index":15,"parentId":7,"type":0,"option":5,"title":"跳过当前循环","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"newLine":1,"codeMode":4,"code":"","waitTime":0,"recordASField":0,"paraType":"text","emailConfig":{"host":"","port":465,"username":"","password":"","from":"","to":"","subject":"","content":""}}},{"id":-1,"index":16,"parentId":7,"type":0,"option":5,"title":"执行Python代码","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"newLine":1,"codeMode":5,"code":"print(\"skip\")","waitTime":0,"recordASField":0,"paraType":"text","emailConfig":{"host":"","port":465,"username":"","password":"","from":"","to":"","subject":"","content":""}}},{"id":-1,"index":17,"parentId":2,"type":1,"option":8,"title":"循环点击每个元素","sequence":[18],"isInLoop":true,"position":0,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":2,"pathList":"//*[@id=\"01\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"02\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"03\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"04\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"04\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"04\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"05\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"05\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"05\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"06\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"06\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"06\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[6]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[7]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[8]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[9]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[10]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[11]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[12]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[13]/a[1]/span[2]\n//*[@id=\"07\"]/div[2]/div[14]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[6]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[7]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[8]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[9]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[10]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[11]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[12]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[13]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[14]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[15]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[16]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[17]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[18]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[19]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[20]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[21]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[22]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[23]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[24]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[25]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[26]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[27]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[28]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[29]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[30]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[31]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[32]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[33]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[34]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[35]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[36]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[37]/a[1]/span[2]\n//*[@id=\"08\"]/div[2]/div[38]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[6]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[7]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[8]/a[1]/span[2]\n//*[@id=\"09\"]/div[2]/div[9]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[6]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[7]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[8]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[9]/a[1]/span[2]\n//*[@id=\"10\"]/div[2]/div[10]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"12\"]/div[2]/div[5]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[1]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[2]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[3]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[4]/a[1]/span[2]\n//*[@id=\"13\"]/div[2]/div[5]/a[1]/span[2]","code":"","waitTime":0,"exitCount":0,"exitElement":"//body","historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":""}},{"id":-1,"index":18,"parentId":3,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":3,"tabIndex":-1,"useLoop":true,"xpath":"","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"newTab":1,"maxWaitTime":10,"params":[],"alertHandleType":0,"allXPaths":""}},{"index":19,"id":-1,"parentId":3,"type":3,"option":10,"title":"无条件","sequence":[],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":2}]} \ No newline at end of file diff --git a/ElectronJS/EasySpider_en.crx b/ElectronJS/EasySpider_en.crx index f560b38747081508cf4a1ad29415ba337e074bfc..cdd550da714680a1b57495c61534ade1b58db345 100644 GIT binary patch delta 1291 zcmXxeeLT|%9Ki9-&*X7N!xDL_7J1x?El(-8Y8V~v^3*Vm6R9g#AwN;_5Mh`uid`+X z^Yq%7haT9v$y4&sgEV6-`|JJreqY}|zN}?c*0O327W}=0q15eXF`%SDY`!lRZ8wUO%tbzdqAY^0&c#ws{j4Zdv?>yJzET8H*U6*p_n*cd1*? zkYh^iG{$B-Ks-$L+rS4}hjWqfLvNkNBxFo`f`BU0LV+jB?jNA(P|fEA-n)}*Dq|^W zQ{Sk^{i?DSP*2rKq!cy%9527pxx(zkPV{OdzlC0v}5rqB2xvZs-=ek-iY-Zv8I z=47j;l+dK+VthMelFwckEHbV0IuOq|IDZcsi4G_?n8Kqy)eAz8mhD60)^#$i`N6XY z$1oHGyolH!G;Fs`$mO5xjdJ~oJ4Z=15*^i8xqJ1|a>@+caq3^xUol?h$u2ep3PW9Wej59`h0xu<#QykP%&&{klC*7zZgeeLI%FK z)JKHAYf{LKzB_sOlAFIRF!C^Ypg|5YG(0o{u8M0v$N^9YR5M8)ouR^Jc!SRnEVsO# z7W<{C4lwU?wc%x&X*>5;A#ZD(l%U%&&n{46^fFhpp5VlXT?ZxFv#_kytFi9dX`wd# zQRz0m8?`Z#dZ zSI7za&^E16cVSurE`m(8A}vfiZV)uu2Ss01{~4?Odb>17{MItJC9PVXf76CJ@X@r{FZ<=NsTQSuX$ zo1+b(KPn4nG8^B!s}ZH$kr4`e3t@Kr*OG(!9jocJ9}V3(4#Lv75X|K}X}jpN#moup z7~=}(=y*d0``1|1tg9p1qbk4YP`MV-ob~Zk?(s(#F(aitqveRFaIm<0GA5sXC?uxK zRj;6#SmH;uJZ5b+>*r0M&wxw`E{t}+=`!4FtL=?(I-s`?_qdJwX?}Mqo}oTw?%WF> z9oV9l6uc8|S$W&+YvztYaoekJ7LRFF^6(Mh76v!AZsA5)u0tCZ(0nhlqv-CZ@6G!* zpR%}fqoR3+I=&0jgOLXP7HpdTSJrk)uc7y!O}fcqc}-=+$zQ0XF!t#LR}G_aLggJ7 zFE>CQ2~kv3gy7>iLGss#a`-qJGkOOH>Uj_Tf42lpsBboh8J({q)8Tp>OeQSz*&f+V zC#PeR6gu|?oeSmBxpJ0I@o=m6YK!IY|pa;evm1(17t7Ki8$b}%v(6%xXdve;3{(u{`)-z4;=Xye3e<% delta 1291 zcmXxeeLT|%9KdngZ)2Nha;RwHqIPZ>*ETKYY2^7i@=%OfC%rn=(R2-KXu=ku#4I73 zSIK0TqEsHjxvZ6rM#O6DMJb0S&R%tYy+7aY>-)!-|4EDgNsDbyzuc>=dVn-P6lEcz z66QQ!Zq?^7@38|P&W6Ffq;#b)p*+d@8o4ShCt5%V_I_3nf{St-lKZ>56bx%ek8sxX zc#j2EqWB_5aaS|{vmy<<_Nb#}Vzq}DRzVq7SXVq}bk{O;(>FO>VzsTxR-K!98t$I2 zGh$O=KfguUGwE3oc0-f{t*za({^-b#?pr|4f%C4P(uzup73SiH0;6-B9y(GTTydC{d7N?g(D5w&=y{x-B>f?6e07cQL) z&xUsv4w|*S(C}vsA9@f(i}4u@okYIEf1n%n;cUSGNDX9=2_b#fRbPWAnD293(K%l1 zinVuu+RnhGeTHP$OrL(mlmdth(y>l&Vh55=wx=QmT>F_=zP6vGanTXx-*FujxZ;SitYQro44`3(vUt}MS4)?;DjB?eE?^k%g5wc2|ui(MXV85qBc2_C>Sf>BAX z7k1k0;K#y2WY)byN_1vEInKcIf#(zj$9Nx{w3ns*!@!R(Nfm#vA2wxbaL0}JX7MC4 zF%#V)BUW#9$1ZSmKU0Z(dKa@Lp<^y(3PhHK9mF5?q#Zc1#@W)NzPvE@WtM#jw*Jvq z^WGdZXNYw^r=7U3zMr=ecpX6O;=CIjetPCMgK9#mbiO|eQBEG?UaDhl@1i(?)-AnO ziHd{1jDYdSSac5NFH)5K#7gPKQ2)Sx1IP#%vf9RRLSLTyVOtN~s*afTTD(Rv$nI}= zE}2F)4Gb6wGhd%Z1zcM`ngV0OwBDx7y~)y4R%W^u1hf&f&#cY|M$a~Dcy}0)}@pft0XXcpemvHPi#~-{ldNt z7-cQFWi234Sqs>myfKTU#y~GZ74_SJ0Buz)qk)egRm|D}g^-OX%h&@rtGvGla8kMY vT>|#od#l|?upNaZ9Ba93%A|8`Ht1D^i@sP0Xy diff --git a/ElectronJS/EasySpider_zh.crx b/ElectronJS/EasySpider_zh.crx index 107974fbccb0152856b124cdee950d019c6cad30..d067721a718a7fe875b5bcc84332541046e73979 100644 GIT binary patch delta 1291 zcmXxedpOez7{GDcZ)`0js|_`^+-4`alr|kkOq~#6xiz^AS<)#w5i&v&iQG5la&XGn z)K(^`Pw=;fX=myM4>aZxv17zfkLN;BQ_JV;L>>nD@6WeV$zSoe6$z)N$(y$JYm) z=bsa+#&$k-u|stH@TuN^R1g{^i%tcyW>TW`G#_L3)FLOiJ|)q5kcEN1I>2Cv)*9RG9A4yRy|YHrmJZW@B&8`Mm)_aLo=&3>mvf zvtvIFF&+Vp%XFYjq{YtrXf>Eee$?5{w0fl;Mwr9p3c|Iif(l6t+AJz`>oa$)y=^2g z1%wkR3&(xaj!CaNEfV`)8U~^>k;rwPn|A(get?ibuPL-GYwE?M_)J&M*H@-5_Xc{2 znsW4-Ixf(v%u4*peK3v~tLPP0LwSA<1}!ZYfg#>8I*V%b*s{1O>dnLhvhpWRqcaT- z{zK#vccsNOlyUz11U*Dm2VlTS;W|_WB7Klqtb}xdoow6`h0MDb zF!iZr;`U?6T*8I6fJQ^ULzW&bgUW zRr{uM1ZA+Af8&HFBlO8-n?N7$?`qdUc@A7@{lkv?_+4P>jv^nEmU&{bj(-&j|DDCT zGhFEKScTM)Xp$Sx_|HeneB}vZc7%e|9005EB|BxT_eOz zxykDn3Z?-yL?gdQgC}nlKp$K)V3Gf}|2BkR3Le!>T8XxuQT;PFl&5{#bmU$-X>Cb^ zVp(_4uh6ZuZ$N*xAA*>FoIeHT?|Nv(7fNvguj9A}%1_ ze4{76QdTb~A9@T8IQ&jV9$9%zOfJ;cqB^eJh4n?a5Z*`WJ9O?V@b#0BV{rDqgXGzF2L zgeq{1JfhXqy0QhWB3`5K(a>E_%*0Eu)Dxw7eTgULf+GiMwhhX7MLI^i{5LRlH7Y9G zG{`s|yTf}vtkXn);QVmihw8$_k6f_P%G#)KS~x-oiE(DQt%c&o-HRz)WY}sj9Df8q zTLnRw>7MG}{Xl7ZBfFU)yI3o*zCKWV;j;PH(#tlYzZ$vSPg#2Ql4!vtg?g}LR7xt^ zDp=sCp&3Ywqur?4isZ($z5RZJP>-|N zgn2rfhjgBku8TN`}+Rz70+!H&u!#cfN!lNv=bhlt5aP4 zj}78bK9+IR>~joP&?e6#DCdR|el|i)CH`JLl#VLS*Nmk5G-jB??`o$o)kd?l2aTVy z-ka$VN;D#O>@qLV#e^k|O5(^@vGjn|IE3w965Ds=l@~JnU1>7=x_V=$e5yk}y)<;~ ze0}sNyr1Z$lD-Ju8`CM9*>iwc1O1pl=&sla^1}cynSjEOhAJ_vo|bD3QL9QcoXp(wYz9C5loWb)sS27B0}6#6AlxnxdY{<>zC}3-UoeHS6yrY`_lWPOBk;AR zRzJB4n+bIjh+sjPb(^HBftsI`OLUS&HT#RnYWc}LGs8^If zISSUi2@pYYEQCOrhjq4I8k_jK>l{vbF86p_1V25n<3u~Wuy%_hZlv01IK#IBOL_wL za+qA;YX0WD)ZyWygB=?H!}f7J>>O{}gOc8%H7Ed4f}k(LaI_;~M~6+@^LSJSCo|v} zypW^qmkL%TSjRXtlSfS|c5(ac=&wg=BLiI0)Gm$(y#nlNXv4Gl_qS7Rc5k)sZ;$wU z-^^JQ)pgu&Lbj4-X~zjU-mj4nl)@92W!NDShPp2w3yOHS!(Gj`z=yBtZ?O!XAGCKW zD9V=u5rvL5H@C?zWLbqHVrH5JB8&K00=Mm7rytL^9OT@_Z?6pwDZMU2hYC#py5peT zDNtY4U$(-Uh-Ku`huOdAmXDyL#xwfyDNfOqYUCwiZESGK;N#S~Ifpc>qANXqhw5%& zzKF_0ZhU2vgO6Y<^HevIs$;>=%#nCw{+Yo5-lfP(QSqV=y;ma9@Eqi+fm)p)2!(ln;?f;C4=|Cuh=~Clw{4$AK_sk8y9|x0{yQ?f*0|=VWqDm{4XITy5@x6Xmdo~FT zf<1;q88es7D>)WFq*3;6|EfF5{LG`p61coe48AG;)i^W^fwgAY8Mb#V&Q}KRWG7 z17O>f5D0{lW1z$rcF6_m7qpgrhe$<~=mCsPidZlMW+00AL;%uZ>yZ^p1nd+x5dm9; xEB|Rj`aWME0Tji)fdm{-xJCjLFJ{rmz{{"Update Time:~更新时间:" | lang}} {{dateFormat(task["update_time"])}}

{{"Operations (Please close this window and select 'Design Task' button if you want to modify task with a browser)~操作(如要带浏览器修改任务流程请关闭此窗口并选择设计任务)" | lang}}

{{"Modify Task Workflow~修改任务流程" | lang}} - {{"Invoke & execute Task~执行任务" | lang}}

+ {{"Execute Task~执行任务" | lang}}

{{"Input Parameters~输入参数" | lang}}

diff --git a/ElectronJS/tasks/115.json b/ElectronJS/tasks/115.json index 64b21dd..fbbfd19 100644 --- a/ElectronJS/tasks/115.json +++ b/ElectronJS/tasks/115.json @@ -1,25 +1,49 @@ { "id": 115, - "name": "网易云音乐", - "url": "https://music.163.com/#/discover/toplist?id=71384707", - "links": "https://music.163.com/#/discover/toplist?id=71384707", - "create_time": "7/4/2023, 7:14:50 AM", + "name": "Dynamic Iframe", + "url": "http://localhost:8074/taskGrid/test_pages/iframe.html?address=http://www.ceic.ac.cn/history", + "links": "http://localhost:8074/taskGrid/test_pages/iframe.html?address=http://www.ceic.ac.cn/history", + "create_time": "7/8/2023, 8:43:14 AM", + "update_time": "7/15/2023, 8:05:33 AM", "version": "0.3.5", "saveThreshold": 10, "cloudflare": 0, "environment": 0, + "maxViewLength": 15, + "outputFormat": "xlsx", + "saveName": "地震Info", "containJudge": false, - "desc": "https://music.163.com/#/discover/toplist?id=71384707", + "desc": "http://localhost:8074/taskGrid/test_pages/iframe.html?address=http://www.ceic.ac.cn/history", "inputParameters": [ { "id": 0, "name": "urlList_0", "nodeId": 1, "nodeName": "打开网页", - "value": "https://music.163.com/#/discover/toplist?id=71384707", + "value": "http://localhost:8074/taskGrid/test_pages/iframe.html?address=http://www.ceic.ac.cn/history", "desc": "要采集的网址列表,多行以\\n分开", - "type": "string", - "exampleValue": "https://music.163.com/#/discover/toplist?id=71384707" + "type": "text", + "exampleValue": "http://localhost:8074/taskGrid/test_pages/iframe.html?address=http://www.ceic.ac.cn/history" + }, + { + "id": 1, + "name": "inputText_1", + "nodeName": "输入文字", + "nodeId": 3, + "desc": "要输入的文本,如京东搜索框输入:电脑", + "type": "text", + "exampleValue": "1", + "value": "1" + }, + { + "id": 2, + "name": "loopTimes_循环_2", + "nodeId": 5, + "nodeName": "循环", + "desc": "循环循环执行的次数(0代表无限循环)", + "type": "int", + "exampleValue": 0, + "value": 0 } ], "outputParameters": [ @@ -27,232 +51,105 @@ "id": 0, "name": "参数1_文本", "desc": "", - "type": "string", - "exampleValue": "Nocturne No. 2 in E Flat Major, Op. 9, No. 2" + "type": "double", + "recordASField": 1, + "exampleValue": "5.0" }, { "id": 1, "name": "参数2_文本", "desc": "", - "type": "string", - "exampleValue": "作曲 : Frédéric François Chopin纯音乐,请欣赏" + "type": "datetime", + "recordASField": 1, + "exampleValue": "2023-06-2912:58:00" }, { "id": 2, - "name": "参数3_链接文本", + "name": "参数3_文本", "desc": "", - "type": "string", - "exampleValue": "" + "type": "text", + "recordASField": 1, + "exampleValue": "37.10" }, { "id": 3, - "name": "参数4_链接地址", + "name": "参数4_文本", "desc": "", - "type": "string", - "exampleValue": "/user/home?id=6622403" + "type": "text", + "recordASField": 1, + "exampleValue": "71.85" }, { "id": 4, - "name": "参数5_图片地址", + "name": "参数5_文本", "desc": "", - "type": "string", - "exampleValue": "http://p2.music.126.net/XM9AGb0vN4OSKK4WeZM7aA==/109951165633941106.jpg?param=50y50" + "type": "int", + "recordASField": 1, + "exampleValue": "140" }, { "id": 5, - "name": "参数6_文本", + "name": "参数1_页面标题", "desc": "", - "type": "string", - "exampleValue": ":建议这种纯音乐,小编在歌词中做简介" + "type": "text", + "recordASField": 1, + "exampleValue": "塔吉克斯坦" }, { "id": 6, - "name": "参数7_链接文本", + "name": "参数7_链接地址", "desc": "", - "type": "string", - "exampleValue": "新鑫曼巴" + "type": "text", + "recordASField": 1, + "exampleValue": "https://news.ceic.ac.cn/CC20230629125800.html" }, { "id": 7, - "name": "参数8_链接地址", + "name": "参数8_文本", "desc": "", - "type": "string", - "exampleValue": "/user/home?id=6622403" + "type": "text", + "recordASField": 1, + "exampleValue": "震级(M)" }, { "id": 8, - "name": "参数9_图片地址", + "name": "参数9_文本", "desc": "", - "type": "string", - "exampleValue": "http://p5.music.126.net/obj/wovDmcKXw6PCn2_CmsOk/17941162599/305d/0dee/968a/22f0de72becf0485ecac1d6a5898825a.png" + "type": "text", + "recordASField": 1, + "exampleValue": "发震时刻(UTC+8)" }, { "id": 9, "name": "参数10_文本", "desc": "", - "type": "string", - "exampleValue": "2016年4月18日" + "type": "text", + "recordASField": 1, + "exampleValue": "纬度(°)" }, { "id": 10, - "name": "参数11_链接文本", + "name": "参数11_文本", "desc": "", - "type": "string", - "exampleValue": "删除" + "type": "text", + "recordASField": 1, + "exampleValue": "经度(°)" }, { "id": 11, - "name": "参数12_链接地址", + "name": "参数12_文本", "desc": "", - "type": "string", - "exampleValue": "javascript:void(0)" + "type": "text", + "recordASField": 1, + "exampleValue": "深度(千米)" }, { "id": 12, "name": "参数13_文本", "desc": "", - "type": "string", - "exampleValue": "|" - }, - { - "id": 13, - "name": "参数14_链接文本", - "desc": "", - "type": "string", - "exampleValue": " (29844)" - }, - { - "id": 14, - "name": "参数15_链接地址", - "desc": "", - "type": "string", - "exampleValue": "javascript:void(0)" - }, - { - "id": 15, - "name": "参数16_文本", - "desc": "", - "type": "string", - "exampleValue": "|" - }, - { - "id": 16, - "name": "参数17_链接文本", - "desc": "", - "type": "string", - "exampleValue": "回复" - }, - { - "id": 17, - "name": "参数18_链接地址", - "desc": "", - "type": "string", - "exampleValue": "javascript:void(0)" - }, - { - "id": 18, - "name": "参数19_文本", - "desc": "", - "type": "string", - "exampleValue": ":有次我在琴房练琴,练的是一首通俗歌曲改编的钢琴曲。正当我沉醉于自己的琴声时,隔壁忽然传来这首夜曲,那一刻我突然觉得自己练的曲子简直是没法听,于是后半段就没练,坐在琴房听隔壁弹了一个小时夜曲。" - }, - { - "id": 19, - "name": "参数20_文本", - "desc": "", - "type": "string", - "exampleValue": "◆" - }, - { - "id": 20, - "name": "参数21_文本", - "desc": "", - "type": "string", - "exampleValue": "◆" - }, - { - "id": 21, - "name": "参数22_文本", - "desc": "", - "type": "string", - "exampleValue": "2016年4月24日" - }, - { - "id": 22, - "name": "参数23_链接文本", - "desc": "", - "type": "string", - "exampleValue": "删除" - }, - { - "id": 23, - "name": "参数24_链接地址", - "desc": "", - "type": "string", - "exampleValue": "javascript:void(0)" - }, - { - "id": 24, - "name": "参数25_文本", - "desc": "", - "type": "string", - "exampleValue": "|" - }, - { - "id": 25, - "name": "参数26_链接文本", - "desc": "", - "type": "string", - "exampleValue": " (7809)" - }, - { - "id": 26, - "name": "参数27_链接地址", - "desc": "", - "type": "string", - "exampleValue": "javascript:void(0)" - }, - { - "id": 27, - "name": "参数28_文本", - "desc": "", - "type": "string", - "exampleValue": "|" - }, - { - "id": 28, - "name": "参数29_链接文本", - "desc": "", - "type": "string", - "exampleValue": "回复" - }, - { - "id": 29, - "name": "参数30_链接地址", - "desc": "", - "type": "string", - "exampleValue": "javascript:void(0)" - }, - { - "id": 30, - "name": "参数31_图片地址", - "desc": "", - "type": "string", - "exampleValue": "http://s1.music.126.net/style/web2/emt/emoji_13.png" - }, - { - "id": 31, - "name": "参数32_图片地址", - "desc": "", - "type": "string", - "exampleValue": "https://p5.music.126.net/obj/wonDlsKUwrLClGjCm8Kx/21892874340/50e6/e81d/5292/2d693cbb98954e28d4d9fdb11be99a8b.png" - }, - { - "id": 32, - "name": "参数33_链接文本", - "desc": "", - "type": "string", - "exampleValue": "网易云音乐" + "type": "text", + "recordASField": 1, + "exampleValue": "参考位置" } ], "graph": [ @@ -263,13 +160,14 @@ "type": -1, "option": 0, "title": "root", - "sequence": [1, 10, 11, 12], + "sequence": [1, 3, 4, 5], "parameters": { "history": 1, "tabIndex": 0, "useLoop": false, "xpath": "", - "wait": 0 + "wait": 0, + "waitType": 0 }, "isInLoop": false }, @@ -292,12 +190,13 @@ "beforeJSWaitTime": 0, "afterJS": "", "afterJSWaitTime": 0, - "url": "https://music.163.com/#/discover/toplist?id=71384707", - "links": "https://music.163.com/#/discover/toplist?id=71384707", - "maxWaitTime": 100, + "url": "http://localhost:8074/taskGrid/test_pages/iframe.html?address=http://www.ceic.ac.cn/history", + "links": "http://localhost:8074/taskGrid/test_pages/iframe.html?address=http://www.ceic.ac.cn/history", + "maxWaitTime": 10, "scrollType": 0, "scrollCount": 1, - "scrollWaitTime": 1 + "scrollWaitTime": 1, + "cookies": "" } }, { @@ -305,16 +204,165 @@ "index": 2, "parentId": 0, "type": 0, - "option": 2, - "title": "点击元素", + "option": 3, + "title": "提取数据", "sequence": [], "isInLoop": false, "position": 1, "parameters": { - "history": 4, + "history": 5, "tabIndex": -1, "useLoop": false, - "xpath": "//*[contains(@class, \"user\")]", + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "paras": [ + { + "nodeType": 0, + "contentType": 6, + "relative": false, + "name": "参数1_页面标题", + "desc": "", + "extractType": 0, + "relativeXPath": "/html/body/iframe[1]", + "allXPaths": [ + "/html/body/iframe[1]", + "//iframe[contains(., '')]", + "id(\"myIframe\")", + "/html/body/iframe[last()-1]" + ], + "exampleValues": [{ "num": 0, "value": "Dynamic Iframe" }], + "unique_index": "14hqdlhesn6ljt6eja8", + "iframe": false, + "default": "", + "paraType": "text", + "recordASField": 1, + "beforeJS": "", + "beforeJSWaitTime": 0, + "JS": "", + "JSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "downloadPic": 0 + }, + { + "nodeType": 1, + "contentType": 0, + "relative": false, + "name": "参数1_链接文本", + "desc": "", + "extractType": 0, + "relativeXPath": "/html/body/div[1]/div[3]/div[1]/div[1]/div[1]/form[1]/div[5]/a[1]", + "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']", + "/html/body/div[last()-3]/div[last()-1]/div/div/div[last()-1]/form/div/a" + ], + "exampleValues": [{ "num": 0, "value": "查询" }], + "unique_index": "gxhcdetmmgcljt6evon", + "iframe": true, + "default": "", + "paraType": "text", + "recordASField": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "JS": "", + "JSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "downloadPic": 0 + }, + { + "nodeType": 0, + "contentType": 5, + "relative": false, + "name": "参数1_页面网址", + "desc": "", + "extractType": 0, + "relativeXPath": "/html/body/iframe[1]", + "allXPaths": [ + "/html/body/iframe[1]", + "//iframe[contains(., '')]", + "id(\"myIframe\")", + "/html/body/iframe[last()-1]" + ], + "exampleValues": [ + { + "num": 0, + "value": "http://localhost:8074/taskGrid/test_pages/iframe.html?address=http://www.ceic.ac.cn/history" + } + ], + "unique_index": "e663xi39mb4ljt6em4l", + "iframe": false, + "default": "", + "paraType": "text", + "recordASField": 1, + "beforeJS": "", + "beforeJSWaitTime": 0, + "JS": "", + "JSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "downloadPic": 0 + } + ] + } + }, + { + "id": 2, + "index": 3, + "parentId": 0, + "type": 0, + "option": 4, + "title": "输入文字", + "sequence": [], + "isInLoop": false, + "position": 1, + "parameters": { + "history": 5, + "tabIndex": -1, + "useLoop": false, + "xpath": "//*[@id=\"weidu1\"]", + "iframe": true, + "wait": 0, + "waitType": 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']", + "/html/body/div[last()-3]/div[last()-1]/div/div/div[last()-1]/form/div[last()-3]/input[last()-1]" + ] + } + }, + { + "id": 3, + "index": 4, + "parentId": 0, + "type": 0, + "option": 2, + "title": "点击元素", + "sequence": [], + "isInLoop": false, + "position": 2, + "parameters": { + "history": 5, + "tabIndex": -1, + "useLoop": false, + "xpath": "//*[@id=\"search\"]", "iframe": true, "wait": 2, "waitType": 0, @@ -327,30 +375,31 @@ "scrollWaitTime": 1, "clickWay": 0, "maxWaitTime": 10, - "params": [], + "paras": [], "allXPaths": [ - "/html/body/div[3]/div[2]/div[1]/div[1]/div[1]/div[2]/div[1]/div[2]", - "//div[contains(., '最近更新:06月2')]", - "//DIV[@class='user f-cb']", - "/html/body/div[last()-10]/div/div/div[last()-1]/div/div/div/div[last()-1]" + "/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']", + "/html/body/div[last()-3]/div[last()-1]/div/div/div[last()-1]/form/div/a" ] } }, { - "id": -1, - "index": 3, + "id": 4, + "index": 5, "parentId": 0, "type": 1, "option": 8, "title": "循环", - "sequence": [5, 4], + "sequence": [7, 6], "isInLoop": false, - "position": 2, + "position": 3, "parameters": { - "history": 4, + "history": 5, "tabIndex": -1, "useLoop": false, - "xpath": "//*[contains(@class, \"user\")]", + "xpath": "//*[contains(@class, \"pagination\")]/ul[1]/li[last()-1]/a[1]", "iframe": true, "wait": 0, "waitType": 0, @@ -372,90 +421,14 @@ "breakCode": "", "breakCodeWaitTime": 0, "allXPaths": [ - "/html/body/div[3]/div[2]/div[1]/div[1]/div[1]/div[2]/div[1]/div[2]", - "//div[contains(., '最近更新:06月2')]", - "//DIV[@class='user f-cb']", - "/html/body/div[last()-10]/div/div/div[last()-1]/div/div/div/div[last()-1]" + "/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(., '»')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div/div/div/ul/li[last()-1]/a" ] } }, { - "id": -1, - "index": 4, - "parentId": 3, - "type": 0, - "option": 2, - "title": "点击元素", - "sequence": [], - "isInLoop": true, - "position": 1, - "parameters": { - "history": 4, - "tabIndex": -1, - "useLoop": true, - "xpath": "//*[contains(@class, \"user\")]", - "iframe": true, - "wait": 2, - "waitType": 0, - "beforeJS": "", - "beforeJSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "scrollType": 0, - "scrollCount": 1, - "scrollWaitTime": 1, - "clickWay": 0, - "maxWaitTime": 10, - "params": [], - "allXPaths": [ - "/html/body/div[3]/div[2]/div[1]/div[1]/div[1]/div[2]/div[1]/div[2]", - "//div[contains(., '最近更新:06月2')]", - "//DIV[@class='user f-cb']", - "/html/body/div[last()-10]/div/div/div[last()-1]/div/div/div/div[last()-1]" - ], - "loopType": 0 - } - }, - { - "id": -1, - "index": 5, - "parentId": 3, - "type": 1, - "option": 8, - "title": "循环", - "sequence": [6, 7, 8], - "isInLoop": true, - "position": 0, - "parameters": { - "history": 4, - "tabIndex": -1, - "useLoop": false, - "xpath": "/html/body/div[3]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/table[1]/tbody[1]/tr[1]/td", - "iframe": true, - "wait": 0, - "waitType": 0, - "beforeJS": "", - "beforeJSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "scrollType": 0, - "scrollCount": 1, - "scrollWaitTime": 1, - "loopType": 1, - "pathList": "", - "textList": "", - "code": "", - "waitTime": 0, - "exitCount": 0, - "historyWait": 2, - "breakMode": 0, - "breakCode": "", - "breakCodeWaitTime": 0, - "allXPaths": "" - } - }, - { - "id": -1, + "id": 6, "index": 6, "parentId": 4, "type": 0, @@ -463,12 +436,12 @@ "title": "点击元素", "sequence": [], "isInLoop": true, - "position": 0, + "position": 1, "parameters": { - "history": 4, + "history": 5, "tabIndex": -1, "useLoop": true, - "xpath": "/html/body/div[3]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/table[1]/tbody[1]/tr[1]/td", + "xpath": "//*[contains(@class, \"pagination\")]/ul[1]/li[10]/a[1]", "iframe": true, "wait": 2, "waitType": 0, @@ -481,1280 +454,62 @@ "scrollWaitTime": 1, "clickWay": 0, "maxWaitTime": 10, - "params": [], - "allXPaths": "", - "loopType": 1 - } - }, - { - "id": -1, - "index": 7, - "parentId": 4, - "type": 0, - "option": 4, - "title": "输入文字", - "sequence": [], - "isInLoop": true, - "position": 1, - "parameters": { - "history": 4, - "tabIndex": -1, - "useLoop": false, - "xpath": "//*[@id=\"auto-id-8mWuLxTMrXQaQCra\"]", - "iframe": true, - "wait": 0, - "waitType": 0, - "beforeJS": "", - "beforeJSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "value": "123", + "paras": [], "allXPaths": [ - "/html/body/div[3]/div[2]/div[1]/div[2]/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/div[1]/textarea[1]", - "//textarea[contains(., '')]", - "id(\"auto-id-8mWuLxTMrXQaQCra\")", - "//TEXTAREA[@class='u-txt area j-flag']", - "/html/body/div[last()-10]/div/div/div/div/div/div/div[last()-2]/div/div/div/div[last()-2]/textarea" - ] - } - }, - { - "id": -1, - "index": 8, - "parentId": 4, - "type": 1, - "option": 8, - "title": "循环", - "sequence": [9], - "isInLoop": true, - "position": 2, - "parameters": { - "history": 4, - "tabIndex": -1, - "useLoop": false, - "xpath": "/html/body/div[3]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/table[1]/tbody[1]/tr", - "iframe": true, - "wait": 0, - "waitType": 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[3]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/table[1]/tbody[1]/tr[1]", - "//tr[contains(., '11 NocturE')]", - "id(\"10609141688418212092\")", - "//TR[@class='even js-dis']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]" - ] - } - }, - { - "id": -1, - "index": 9, - "parentId": 8, - "type": 0, - "option": 3, - "title": "提取数据", - "sequence": [], - "isInLoop": true, - "position": 0, - "parameters": { - "history": 4, - "tabIndex": -1, - "useLoop": false, - "xpath": "", - "iframe": true, - "wait": 0, - "waitType": 0, - "beforeJS": "", - "beforeJSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "params": [ - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数73_文本", - "desc": "", - "relativeXPath": "/td[1]/div[1]/span[1]", - "allXPaths": [ - "/td[1]/div[1]/span[1]", - "//span[contains(., '1')]", - "//SPAN[@class='num']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-3]/div/span" - ], - "exampleValues": [{ "num": 0, "value": "1" }], - "unique_index": "/td[1]/div[1]/span[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数74_文本", - "desc": "", - "relativeXPath": "/td[1]/div[1]/div[1]/span[1]", - "allXPaths": [ - "/td[1]/div[1]/div[1]/span[1]", - "//span[contains(., '1')]", - "//SPAN[@class='ico u-icn u-icn-73 s-fc9']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-3]/div/div/span" - ], - "exampleValues": [{ "num": 0, "value": "1" }], - "unique_index": "/td[1]/div[1]/div[1]/span[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数75_链接文本", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/a[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/a[1]", - "//a[contains(., '')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/a" - ], - "exampleValues": [{ "num": 0, "value": "" }], - "unique_index": "/td[2]/div[1]/div[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数76_链接地址", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/a[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/a[1]", - "//a[contains(., '')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/a" - ], - "exampleValues": [{ "num": 0, "value": "/song?id=1060914" }], - "unique_index": "/td[2]/div[1]/div[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 4, - "contentType": 1, - "relative": true, - "name": "参数77_图片地址", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/a[1]/img[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/a[1]/img[1]", - "//img[contains(., '')]", - "//IMG[@class='rpic']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/a/img" - ], - "exampleValues": [ - { - "num": 0, - "value": "http://p1.music.126.net/Dvhon4mH7qimTtE7q3omTw==/1419469524716144.jpg?param=50y50&quality=100" - } - ], - "unique_index": "/td[2]/div[1]/div[1]/a[1]/img[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数78_链接文本", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]", - "//a[contains(., 'NocturEJpn')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/div/span/a" - ], - "exampleValues": [ - { - "num": 0, - "value": "NocturEJpne No. 2 in E Flat Major, Op. 9, No. 2" - } - ], - "unique_index": "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数79_链接地址", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]", - "//a[contains(., 'NocturEJpn')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/div/span/a" - ], - "exampleValues": [{ "num": 0, "value": "/song?id=1060914" }], - "unique_index": "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数80_文本", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]/b[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]/b[1]", - "//b[contains(., 'NocturEJpn')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/div/span/a/b" - ], - "exampleValues": [ - { "num": 0, "value": "NocturneNo.2inEFlatMajor,Op.9,No.2" } - ], - "unique_index": "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]/b[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数81_文本", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]/b[1]/div[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]/b[1]/div[1]", - "//div[contains(., 'EJp')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/div/span/a/b/div" - ], - "exampleValues": [{ "num": 0, "value": "EJp" }], - "unique_index": "/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]/b[1]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数82_文本", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/div[1]/span[1]/span[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/div[1]/span[1]/span[1]", - "//span[contains(., '- (降E大调第2')]", - "//SPAN[@class='s-fc8']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/div/span/span" - ], - "exampleValues": [ - { "num": 0, "value": "-(降E大调第2号夜曲,作品9)" } - ], - "unique_index": "/td[2]/div[1]/div[1]/div[1]/span[1]/span[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数83_文本", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/div[1]/span[1]/span[1]/div[1]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/div[1]/span[1]/span[1]/div[1]", - "//div[contains(., '函潖奪')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/div/span/span/div" - ], - "exampleValues": [{ "num": 0, "value": "函潖奪" }], - "unique_index": "/td[2]/div[1]/div[1]/div[1]/span[1]/span[1]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数84_文本", - "desc": "", - "relativeXPath": "/td[3]/span[1]", - "allXPaths": [ - "/td[3]/span[1]", - "//span[contains(., '04:26')]", - "//SPAN[@class='u-dur ']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-1]/span" - ], - "exampleValues": [{ "num": 0, "value": "04:26" }], - "unique_index": "/td[3]/span[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数85_链接文本", - "desc": "", - "relativeXPath": "/td[3]/div[1]/a[1]", - "allXPaths": [ - "/td[3]/div[1]/a[1]", - "//a[contains(., '')]", - "//A[@class='u-icn u-icn-81 icn-add']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-1]/div/a" - ], - "exampleValues": [{ "num": 0, "value": "" }], - "unique_index": "/td[3]/div[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数86_链接地址", - "desc": "", - "relativeXPath": "/td[3]/div[1]/a[1]", - "allXPaths": [ - "/td[3]/div[1]/a[1]", - "//a[contains(., '')]", - "//A[@class='u-icn u-icn-81 icn-add']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-1]/div/a" - ], - "exampleValues": [{ "num": 0, "value": "javascript:;" }], - "unique_index": "/td[3]/div[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数87_文本", - "desc": "", - "relativeXPath": "/td[3]/div[1]/span[2]", - "allXPaths": [ - "/td[3]/div[1]/span[2]", - "//span[contains(., '分享')]", - "//SPAN[@class='icn icn-share']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-1]/div/span[last()-1]" - ], - "exampleValues": [{ "num": 0, "value": "分享" }], - "unique_index": "/td[3]/div[1]/span[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数88_链接文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[1]", - "//a[contains(., 'Arthur Rub')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td/div/span/a" - ], - "exampleValues": [{ "num": 0, "value": "Arthur Rubiwf8knstein" }], - "unique_index": "/td[4]/div[1]/span[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数89_链接地址", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[1]", - "//a[contains(., 'Arthur Rub')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td/div/span/a" - ], - "exampleValues": [{ "num": 0, "value": "/artist?id=12541250" }], - "unique_index": "/td[4]/div[1]/span[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数90_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[1]/div[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[1]/div[1]", - "//div[contains(., 'wf8k')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td/div/span/a/div" - ], - "exampleValues": [{ "num": 0, "value": "wf8k" }], - "unique_index": "/td[4]/div[1]/span[1]/a[1]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数91_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/span[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/span[1]", - "//span[contains(., 'Noble Musi')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-97]/td/div/span/span" - ], - "exampleValues": [{ "num": 2, "value": "NobleMusicProject" }], - "unique_index": "/td[4]/div[1]/span[1]/span[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数92_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/span[1]/div[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/span[1]/div[1]", - "//div[contains(., 'fXuJ')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-97]/td/div/span/span/div" - ], - "exampleValues": [{ "num": 2, "value": "fXuJ" }], - "unique_index": "/td[4]/div[1]/span[1]/span[1]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数93_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]", - "//span[contains(., 'JohaNOfnn')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-87]/td/div/span" - ], - "exampleValues": [{ "num": 12, "value": "/" }], - "unique_index": "/td[4]/div[1]/span[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数94_链接文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[2]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[2]", - "//a[contains(., 'Chris USne')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-87]/td/div/span/a" - ], - "exampleValues": [{ "num": 12, "value": "Chris USnelling" }], - "unique_index": "/td[4]/div[1]/span[1]/a[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数95_链接地址", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[2]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[2]", - "//a[contains(., 'Chris USne')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-87]/td/div/span/a" - ], - "exampleValues": [{ "num": 12, "value": "/artist?id=13065095" }], - "unique_index": "/td[4]/div[1]/span[1]/a[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数96_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[2]/div[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[2]/div[1]", - "//div[contains(., 'U')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-87]/td/div/span/a/div" - ], - "exampleValues": [{ "num": 12, "value": "U" }], - "unique_index": "/td[4]/div[1]/span[1]/a[2]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数97_链接文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[3]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[3]", - "//a[contains(., 'Eberhard a')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-81]/td/div/span/a[last()-1]" - ], - "exampleValues": [{ "num": 18, "value": "Eberhard aFJFinke" }], - "unique_index": "/td[4]/div[1]/span[1]/a[3]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数98_链接地址", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[3]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[3]", - "//a[contains(., 'Eberhard a')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-81]/td/div/span/a[last()-1]" - ], - "exampleValues": [{ "num": 18, "value": "/artist?id=265005" }], - "unique_index": "/td[4]/div[1]/span[1]/a[3]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数99_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[3]/div[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[3]/div[1]", - "//div[contains(., 'aFJ')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-81]/td/div/span/a[last()-1]/div" - ], - "exampleValues": [{ "num": 18, "value": "aFJ" }], - "unique_index": "/td[4]/div[1]/span[1]/a[3]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数100_链接文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[4]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[4]", - "//a[contains(., 'Mstip4Usla')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-81]/td/div/span/a" - ], - "exampleValues": [ - { "num": 18, "value": "Mstip4Uslav Rostropovich" } - ], - "unique_index": "/td[4]/div[1]/span[1]/a[4]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数101_链接地址", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[4]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[4]", - "//a[contains(., 'Mstip4Usla')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-81]/td/div/span/a" - ], - "exampleValues": [{ "num": 18, "value": "/artist?id=155815" }], - "unique_index": "/td[4]/div[1]/span[1]/a[4]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数102_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[4]/div[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[4]/div[1]", - "//div[contains(., 'p4U')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-81]/td/div/span/a/div" - ], - "exampleValues": [{ "num": 18, "value": "p4U" }], - "unique_index": "/td[4]/div[1]/span[1]/a[4]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数103_文本", - "desc": "", - "relativeXPath": "/td[2]/div[1]/div[1]/div[1]/span[1]/span[2]", - "allXPaths": [ - "/td[2]/div[1]/div[1]/div[1]/span[1]/span[2]", - "//span[contains(., 'MV')]", - "//SPAN[@class='mv']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-62]/td[last()-2]/div/div/div/span/span" - ], - "exampleValues": [{ "num": 37, "value": "MV" }], - "unique_index": "/td[2]/div[1]/div[1]/div[1]/span[1]/span[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数104_链接文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[5]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[5]", - "//a[contains(., 'AdIUBrpad')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a[last()-2]" - ], - "exampleValues": [{ "num": 81, "value": "AdIUBrpad Gérecz" }], - "unique_index": "/td[4]/div[1]/span[1]/a[5]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数105_链接地址", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[5]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[5]", - "//a[contains(., 'AdIUBrpad')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a[last()-2]" - ], - "exampleValues": [{ "num": 81, "value": "/artist?id=213459" }], - "unique_index": "/td[4]/div[1]/span[1]/a[5]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数106_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[5]/div[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[5]/div[1]", - "//div[contains(., 'dIUB')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a[last()-2]/div" - ], - "exampleValues": [{ "num": 81, "value": "dIUB" }], - "unique_index": "/td[4]/div[1]/span[1]/a[5]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数107_链接文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[6]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[6]", - "//a[contains(., 'New Philha')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a[last()-1]" - ], - "exampleValues": [ - { "num": 81, "value": "New Philharmoniali Orchestra" } - ], - "unique_index": "/td[4]/div[1]/span[1]/a[6]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数108_链接地址", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[6]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[6]", - "//a[contains(., 'New Philha')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a[last()-1]" - ], - "exampleValues": [{ "num": 81, "value": "/artist?id=129486" }], - "unique_index": "/td[4]/div[1]/span[1]/a[6]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数109_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[6]/div[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[6]/div[1]", - "//div[contains(., 'li')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a[last()-1]/div" - ], - "exampleValues": [{ "num": 81, "value": "li" }], - "unique_index": "/td[4]/div[1]/span[1]/a[6]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数110_链接文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[7]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[7]", - "//a[contains(., 'Edo de Waf')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a" - ], - "exampleValues": [{ "num": 81, "value": "Edo de WafczUart" }], - "unique_index": "/td[4]/div[1]/span[1]/a[7]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数111_链接地址", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[7]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[7]", - "//a[contains(., 'Edo de Waf')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a" - ], - "exampleValues": [{ "num": 81, "value": "/artist?id=144817" }], - "unique_index": "/td[4]/div[1]/span[1]/a[7]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数112_文本", - "desc": "", - "relativeXPath": "/td[4]/div[1]/span[1]/a[7]/div[1]", - "allXPaths": [ - "/td[4]/div[1]/span[1]/a[7]/div[1]", - "//div[contains(., 'fczU')]", - "//DIV[@class='soil']", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-18]/td/div/span/a/div" - ], - "exampleValues": [{ "num": 81, "value": "fczU" }], - "unique_index": "/td[4]/div[1]/span[1]/a[7]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - } - ] - } - }, - { - "id": 2, - "index": 10, - "parentId": 0, - "type": 0, - "option": 2, - "title": "点击元素", - "sequence": [], - "isInLoop": false, - "position": 1, - "parameters": { - "history": 3, - "tabIndex": -1, - "useLoop": false, - "xpath": "//*[@id=\"10609141688426033070\"]/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]/b[1]", - "iframe": true, - "wait": 2, - "waitType": 0, - "beforeJS": "", - "beforeJSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "scrollType": 0, - "scrollCount": 1, - "scrollWaitTime": 1, - "clickWay": 0, - "maxWaitTime": 10, - "params": [], - "allXPaths": [ - "/html/body/div[3]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/table[1]/tbody[1]/tr[1]/td[2]/div[1]/div[1]/div[1]/span[1]/a[1]/b[1]", - "//b[contains(., 'Nocturne N')]", - "/html/body/div[last()-10]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-99]/td[last()-2]/div/div/div/span/a/b" - ] - } - }, - { - "id": 3, - "index": 11, - "parentId": 0, - "type": 0, - "option": 3, - "title": "提取数据", - "sequence": [], - "isInLoop": false, - "position": 2, - "parameters": { - "history": 4, - "tabIndex": -1, - "useLoop": false, - "xpath": "", - "iframe": true, - "wait": 0, - "waitType": 0, - "beforeJS": "", - "beforeJSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "params": [ - { - "nodeType": 0, - "contentType": 0, - "relative": false, - "name": "参数1_文本", - "desc": "", - "relativeXPath": "/html/body/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/em[1]", - "allXPaths": [ - "/html/body/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/em[1]", - "//em[contains(., 'Nocturne N')]", - "//EM[@class='f-ff2']", - "/html/body/div[last()-8]/div[last()-1]/div/div/div[last()-1]/div[last()-1]/div/div[last()-2]/div/em" - ], - "exampleValues": [ - { - "num": 0, - "value": "Nocturne No. 2 in E Flat Major, Op. 9, No. 2" - } - ], - "unique_index": "8l265os1r85ljnha0rx", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 0, - "relative": false, - "name": "参数2_文本", - "desc": "", - "relativeXPath": "/html/body/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[2]/div[3]", - "allXPaths": [ - "/html/body/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[2]/div[3]", - "//div[contains(., '作曲 : Frédé')]", - "id(\"lyric-content\")", - "//DIV[@class='bd bd-open f-brk f-ib']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div[last()-1]/div[last()-1]/div/div" - ], - "exampleValues": [ - { - "num": 0, - "value": "作曲 : Frédéric François Chopin纯音乐,请欣赏" - } - ], - "unique_index": "wo55mnquaokljnha0rx", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - } - ] - } - }, - { - "id": 4, - "index": 12, - "parentId": 0, - "type": 1, - "option": 8, - "title": "循环", - "sequence": [13, 14], - "isInLoop": false, - "position": 3, - "parameters": { - "history": 4, - "tabIndex": -1, - "useLoop": false, - "xpath": "/html/body/div[3]/div[1]/div[1]/div[1]/div[2]/div[1]/div[2]/div[2]/div", - "iframe": true, - "wait": 0, - "waitType": 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[3]/div[1]/div[1]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]", - "//div[contains(., '新鑫曼巴:建议这种纯')]", - "id(\"1430545231688426048755\")", - "//DIV[@class='itm']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]" - ] + "/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(., '»')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div/div/div/ul/li[last()-1]/a" + ], + "loopType": 0 } }, { "id": 5, - "index": 13, + "index": 7, "parentId": 4, + "type": 1, + "option": 8, + "title": "循环", + "sequence": [8], + "isInLoop": true, + "position": 0, + "parameters": { + "history": 5, + "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", + "iframe": true, + "wait": 0, + "waitType": 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']", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-20]" + ] + } + }, + { + "id": 7, + "index": 8, + "parentId": 5, "type": 0, "option": 3, "title": "提取数据", @@ -1762,7 +517,7 @@ "isInLoop": true, "position": 0, "parameters": { - "history": 4, + "history": 5, "tabIndex": -1, "useLoop": false, "xpath": "", @@ -1773,76 +528,25 @@ "beforeJSWaitTime": 0, "afterJS": "", "afterJSWaitTime": 0, - "params": [ + "paras": [ { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数3_链接文本", - "desc": "", - "relativeXPath": "/div[1]/a[1]", - "allXPaths": [ - "/div[1]/a[1]", - "//a[contains(., '')]", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div[last()-1]/a" - ], - "exampleValues": [{ "num": 0, "value": "" }], - "unique_index": "/div[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数4_链接地址", - "desc": "", - "relativeXPath": "/div[1]/a[1]", - "allXPaths": [ - "/div[1]/a[1]", - "//a[contains(., '')]", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div[last()-1]/a" - ], - "exampleValues": [{ "num": 0, "value": "/user/home?id=6622403" }], - "unique_index": "/div[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 4, + "nodeType": 0, "contentType": 1, "relative": true, - "name": "参数5_图片地址", + "name": "参数1_文本", "desc": "", - "relativeXPath": "/div[1]/a[1]/img[1]", + "relativeXPath": "/td[1]", "allXPaths": [ - "/div[1]/a[1]/img[1]", - "//img[contains(., '')]", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div[last()-1]/a/img" + "/td[1]", + "//td[contains(., '5.0')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-19]/td[last()-5]" ], - "exampleValues": [ - { - "num": 0, - "value": "http://p2.music.126.net/XM9AGb0vN4OSKK4WeZM7aA==/109951165633941106.jpg?param=50y50" - } - ], - "unique_index": "/div[1]/a[1]/img[1]", + "exampleValues": [{ "num": 0, "value": "5.0" }], + "unique_index": "/td[1]", "iframe": true, - "default": "", + "default": "8.8", + "paraType": "double", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -1855,21 +559,98 @@ "nodeType": 0, "contentType": 1, "relative": true, - "name": "参数6_文本", + "name": "参数2_文本", "desc": "", - "relativeXPath": "/div[2]/div[1]/div[1]", + "relativeXPath": "/td[2]", "allXPaths": [ - "/div[2]/div[1]/div[1]", - "//div[contains(., '新鑫曼巴:建议这种纯')]", - "//DIV[@class='cnt f-brk']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div[last()-1]/div" + "/td[2]", + "//td[contains(., '2023-06-29')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-19]/td[last()-4]" ], - "exampleValues": [ - { "num": 0, "value": ":建议这种纯音乐,小编在歌词中做简介" } + "exampleValues": [{ "num": 0, "value": "2023-06-2912:58:00" }], + "unique_index": "/td[2]", + "iframe": true, + "default": "2020-02-08 00:01:02", + "paraType": "datetime", + "recordASField": 1, + "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(., '37.10')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-19]/td[last()-3]" ], - "unique_index": "/div[2]/div[1]/div[1]", + "exampleValues": [{ "num": 0, "value": "37.10" }], + "unique_index": "/td[3]", "iframe": true, "default": "", + "paraType": "text", + "recordASField": 1, + "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(., '71.85')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-19]/td[last()-2]" + ], + "exampleValues": [{ "num": 0, "value": "71.85" }], + "unique_index": "/td[4]", + "iframe": true, + "default": "", + "paraType": "text", + "recordASField": 1, + "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(., '140')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-19]/td[last()-1]" + ], + "exampleValues": [{ "num": 0, "value": "140" }], + "unique_index": "/td[5]", + "iframe": true, + "default": "", + "paraType": "int", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -1882,19 +663,21 @@ "nodeType": 1, "contentType": 0, "relative": true, - "name": "参数7_链接文本", + "name": "参数1_页面标题", "desc": "", - "relativeXPath": "/div[2]/div[1]/div[1]/a[1]", + "relativeXPath": "/td[6]/a[1]", "allXPaths": [ - "/div[2]/div[1]/div[1]/a[1]", - "//a[contains(., '新鑫曼巴')]", - "//A[@class='s-fc7']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div[last()-1]/div/a" + "/td[6]/a[1]", + "//a[contains(., '塔吉克斯坦')]", + "id(\"cid\")", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-19]/td/a" ], - "exampleValues": [{ "num": 0, "value": "新鑫曼巴" }], - "unique_index": "/div[2]/div[1]/div[1]/a[1]", + "exampleValues": [{ "num": 0, "value": "塔吉克斯坦" }], + "unique_index": "/td[6]/a[1]", "iframe": true, "default": "", + "paraType": "text", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -1907,19 +690,26 @@ "nodeType": 2, "contentType": 0, "relative": true, - "name": "参数8_链接地址", + "name": "参数7_链接地址", "desc": "", - "relativeXPath": "/div[2]/div[1]/div[1]/a[1]", + "relativeXPath": "/td[6]/a[1]", "allXPaths": [ - "/div[2]/div[1]/div[1]/a[1]", - "//a[contains(., '新鑫曼巴')]", - "//A[@class='s-fc7']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div[last()-1]/div/a" + "/td[6]/a[1]", + "//a[contains(., '塔吉克斯坦')]", + "id(\"cid\")", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-19]/td/a" ], - "exampleValues": [{ "num": 0, "value": "/user/home?id=6622403" }], - "unique_index": "/div[2]/div[1]/div[1]/a[1]", + "exampleValues": [ + { + "num": 0, + "value": "https://news.ceic.ac.cn/CC20230629125800.html" + } + ], + "unique_index": "/td[6]/a[1]", "iframe": true, "default": "", + "paraType": "text", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -1929,27 +719,49 @@ "downloadPic": 0 }, { - "nodeType": 4, + "nodeType": 0, "contentType": 1, "relative": true, - "name": "参数9_图片地址", + "name": "参数8_文本", "desc": "", - "relativeXPath": "/div[2]/div[1]/div[1]/img[1]", + "relativeXPath": "/th[1]", "allXPaths": [ - "/div[2]/div[1]/div[1]/img[1]", - "//img[contains(., '')]", - "//IMG[@class='brand-tag brand-vip']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div[last()-1]/div/img" + "/th[1]", + "//th[contains(., '震级(M)')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-20]/th[last()-5]" ], - "exampleValues": [ - { - "num": 0, - "value": "http://p5.music.126.net/obj/wovDmcKXw6PCn2_CmsOk/17941162599/305d/0dee/968a/22f0de72becf0485ecac1d6a5898825a.png" - } - ], - "unique_index": "/div[2]/div[1]/div[1]/img[1]", + "exampleValues": [{ "num": 1, "value": "震级(M)" }], + "unique_index": "/th[1]", "iframe": true, "default": "", + "paraType": "text", + "recordASField": 1, + "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')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-20]/th[last()-4]" + ], + "exampleValues": [{ "num": 1, "value": "发震时刻(UTC+8)" }], + "unique_index": "/th[2]", + "iframe": true, + "default": "", + "paraType": "text", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -1964,17 +776,18 @@ "relative": true, "name": "参数10_文本", "desc": "", - "relativeXPath": "/div[2]/div[2]/div[1]", + "relativeXPath": "/th[3]", "allXPaths": [ - "/div[2]/div[2]/div[1]", - "//div[contains(., '2016年4月18日')]", - "//DIV[@class='time s-fc4']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/div" + "/th[3]", + "//th[contains(., '纬度(°)')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-20]/th[last()-3]" ], - "exampleValues": [{ "num": 0, "value": "2016年4月18日" }], - "unique_index": "/div[2]/div[2]/div[1]", + "exampleValues": [{ "num": 1, "value": "纬度(°)" }], + "unique_index": "/th[3]", "iframe": true, "default": "", + "paraType": "text", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -1984,22 +797,23 @@ "downloadPic": 0 }, { - "nodeType": 1, - "contentType": 0, + "nodeType": 0, + "contentType": 1, "relative": true, - "name": "参数11_链接文本", + "name": "参数11_文本", "desc": "", - "relativeXPath": "/div[2]/div[2]/span[1]/span[1]/a[1]", + "relativeXPath": "/th[4]", "allXPaths": [ - "/div[2]/div[2]/span[1]/span[1]/a[1]", - "//a[contains(., '删除')]", - "//A[@class='s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/span[last()-1]/span/a" + "/th[4]", + "//th[contains(., '经度(°)')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-20]/th[last()-2]" ], - "exampleValues": [{ "num": 0, "value": "删除" }], - "unique_index": "/div[2]/div[2]/span[1]/span[1]/a[1]", + "exampleValues": [{ "num": 1, "value": "经度(°)" }], + "unique_index": "/th[4]", "iframe": true, "default": "", + "paraType": "text", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -2009,22 +823,23 @@ "downloadPic": 0 }, { - "nodeType": 2, - "contentType": 0, + "nodeType": 0, + "contentType": 1, "relative": true, - "name": "参数12_链接地址", + "name": "参数12_文本", "desc": "", - "relativeXPath": "/div[2]/div[2]/span[1]/span[1]/a[1]", + "relativeXPath": "/th[5]", "allXPaths": [ - "/div[2]/div[2]/span[1]/span[1]/a[1]", - "//a[contains(., '删除')]", - "//A[@class='s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/span[last()-1]/span/a" + "/th[5]", + "//th[contains(., '深度(千米)')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-20]/th[last()-1]" ], - "exampleValues": [{ "num": 0, "value": "javascript:void(0)" }], - "unique_index": "/div[2]/div[2]/span[1]/span[1]/a[1]", + "exampleValues": [{ "num": 1, "value": "深度(千米)" }], + "unique_index": "/th[5]", "iframe": true, "default": "", + "paraType": "text", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -2039,502 +854,18 @@ "relative": true, "name": "参数13_文本", "desc": "", - "relativeXPath": "/div[2]/div[2]/span[1]/span[1]/span[1]", + "relativeXPath": "/th[6]", "allXPaths": [ - "/div[2]/div[2]/span[1]/span[1]/span[1]", - "//span[contains(., '|')]", - "//SPAN[@class='sep']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/span[last()-1]/span/span" + "/th[6]", + "//th[contains(., '参考位置')]", + "/html/body/div[last()-3]/div[last()-1]/div/div/div/div/div[last()-1]/table/tbody/tr[last()-20]/th" ], - "exampleValues": [{ "num": 0, "value": "|" }], - "unique_index": "/div[2]/div[2]/span[1]/span[1]/span[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数14_链接文本", - "desc": "", - "relativeXPath": "/div[2]/div[2]/a[1]", - "allXPaths": [ - "/div[2]/div[2]/a[1]", - "//a[contains(., '(29844)')]", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/a[last()-1]" - ], - "exampleValues": [{ "num": 0, "value": " (29844)" }], - "unique_index": "/div[2]/div[2]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数15_链接地址", - "desc": "", - "relativeXPath": "/div[2]/div[2]/a[1]", - "allXPaths": [ - "/div[2]/div[2]/a[1]", - "//a[contains(., '(29844)')]", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/a[last()-1]" - ], - "exampleValues": [{ "num": 0, "value": "javascript:void(0)" }], - "unique_index": "/div[2]/div[2]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数16_文本", - "desc": "", - "relativeXPath": "/div[2]/div[2]/span[2]", - "allXPaths": [ - "/div[2]/div[2]/span[2]", - "//span[contains(., '|')]", - "//SPAN[@class='sep']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/span" - ], - "exampleValues": [{ "num": 0, "value": "|" }], - "unique_index": "/div[2]/div[2]/span[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数17_链接文本", - "desc": "", - "relativeXPath": "/div[2]/div[2]/a[2]", - "allXPaths": [ - "/div[2]/div[2]/a[2]", - "//a[contains(., '回复')]", - "//A[@class='s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/a" - ], - "exampleValues": [{ "num": 0, "value": "回复" }], - "unique_index": "/div[2]/div[2]/a[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数18_链接地址", - "desc": "", - "relativeXPath": "/div[2]/div[2]/a[2]", - "allXPaths": [ - "/div[2]/div[2]/a[2]", - "//a[contains(., '回复')]", - "//A[@class='s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-34]/div/div/a" - ], - "exampleValues": [{ "num": 0, "value": "javascript:void(0)" }], - "unique_index": "/div[2]/div[2]/a[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数19_文本", - "desc": "", - "relativeXPath": "/div[2]/div[2]", - "allXPaths": [ - "/div[2]/div[2]", - "//div[contains(., '◆◆_Being_:')]", - "//DIV[@class='que f-brk f-pr s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div[last()-1]" - ], - "exampleValues": [ - { - "num": 6, - "value": ":有次我在琴房练琴,练的是一首通俗歌曲改编的钢琴曲。正当我沉醉于自己的琴声时,隔壁忽然传来这首夜曲,那一刻我突然觉得自己练的曲子简直是没法听,于是后半段就没练,坐在琴房听隔壁弹了一个小时夜曲。" - } - ], - "unique_index": "/div[2]/div[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数20_文本", - "desc": "", - "relativeXPath": "/div[2]/div[2]/span[1]/i[1]", - "allXPaths": [ - "/div[2]/div[2]/span[1]/i[1]", - "//i[contains(., '◆')]", - "//I[@class='bd']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div[last()-1]/span/i[last()-1]" - ], - "exampleValues": [{ "num": 6, "value": "◆" }], - "unique_index": "/div[2]/div[2]/span[1]/i[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数21_文本", - "desc": "", - "relativeXPath": "/div[2]/div[2]/span[1]/i[2]", - "allXPaths": [ - "/div[2]/div[2]/span[1]/i[2]", - "//i[contains(., '◆')]", - "//I[@class='bg']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div[last()-1]/span/i" - ], - "exampleValues": [{ "num": 6, "value": "◆" }], - "unique_index": "/div[2]/div[2]/span[1]/i[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数22_文本", - "desc": "", - "relativeXPath": "/div[2]/div[3]/div[1]", - "allXPaths": [ - "/div[2]/div[3]/div[1]", - "//div[contains(., '2016年4月24日')]", - "//DIV[@class='time s-fc4']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/div" - ], - "exampleValues": [{ "num": 6, "value": "2016年4月24日" }], - "unique_index": "/div[2]/div[3]/div[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数23_链接文本", - "desc": "", - "relativeXPath": "/div[2]/div[3]/span[1]/span[1]/a[1]", - "allXPaths": [ - "/div[2]/div[3]/span[1]/span[1]/a[1]", - "//a[contains(., '删除')]", - "//A[@class='s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/span[last()-1]/span/a" - ], - "exampleValues": [{ "num": 6, "value": "删除" }], - "unique_index": "/div[2]/div[3]/span[1]/span[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数24_链接地址", - "desc": "", - "relativeXPath": "/div[2]/div[3]/span[1]/span[1]/a[1]", - "allXPaths": [ - "/div[2]/div[3]/span[1]/span[1]/a[1]", - "//a[contains(., '删除')]", - "//A[@class='s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/span[last()-1]/span/a" - ], - "exampleValues": [{ "num": 6, "value": "javascript:void(0)" }], - "unique_index": "/div[2]/div[3]/span[1]/span[1]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数25_文本", - "desc": "", - "relativeXPath": "/div[2]/div[3]/span[1]/span[1]/span[1]", - "allXPaths": [ - "/div[2]/div[3]/span[1]/span[1]/span[1]", - "//span[contains(., '|')]", - "//SPAN[@class='sep']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/span[last()-1]/span/span" - ], - "exampleValues": [{ "num": 6, "value": "|" }], - "unique_index": "/div[2]/div[3]/span[1]/span[1]/span[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数26_链接文本", - "desc": "", - "relativeXPath": "/div[2]/div[3]/a[1]", - "allXPaths": [ - "/div[2]/div[3]/a[1]", - "//a[contains(., '(7809)')]", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/a[last()-1]" - ], - "exampleValues": [{ "num": 6, "value": " (7809)" }], - "unique_index": "/div[2]/div[3]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数27_链接地址", - "desc": "", - "relativeXPath": "/div[2]/div[3]/a[1]", - "allXPaths": [ - "/div[2]/div[3]/a[1]", - "//a[contains(., '(7809)')]", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/a[last()-1]" - ], - "exampleValues": [{ "num": 6, "value": "javascript:void(0)" }], - "unique_index": "/div[2]/div[3]/a[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 0, - "contentType": 1, - "relative": true, - "name": "参数28_文本", - "desc": "", - "relativeXPath": "/div[2]/div[3]/span[2]", - "allXPaths": [ - "/div[2]/div[3]/span[2]", - "//span[contains(., '|')]", - "//SPAN[@class='sep']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/span" - ], - "exampleValues": [{ "num": 6, "value": "|" }], - "unique_index": "/div[2]/div[3]/span[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 1, - "contentType": 0, - "relative": true, - "name": "参数29_链接文本", - "desc": "", - "relativeXPath": "/div[2]/div[3]/a[2]", - "allXPaths": [ - "/div[2]/div[3]/a[2]", - "//a[contains(., '回复')]", - "//A[@class='s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/a" - ], - "exampleValues": [{ "num": 6, "value": "回复" }], - "unique_index": "/div[2]/div[3]/a[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 2, - "contentType": 0, - "relative": true, - "name": "参数30_链接地址", - "desc": "", - "relativeXPath": "/div[2]/div[3]/a[2]", - "allXPaths": [ - "/div[2]/div[3]/a[2]", - "//a[contains(., '回复')]", - "//A[@class='s-fc3']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-28]/div/div/a" - ], - "exampleValues": [{ "num": 6, "value": "javascript:void(0)" }], - "unique_index": "/div[2]/div[3]/a[2]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 4, - "contentType": 1, - "relative": true, - "name": "参数31_图片地址", - "desc": "", - "relativeXPath": "/div[2]/div[2]/img[1]", - "allXPaths": [ - "/div[2]/div[2]/img[1]", - "//img[contains(., '')]", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-19]/div/div[last()-1]/img" - ], - "exampleValues": [ - { - "num": 15, - "value": "http://s1.music.126.net/style/web2/emt/emoji_13.png" - } - ], - "unique_index": "/div[2]/div[2]/img[1]", - "iframe": true, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - }, - { - "nodeType": 4, - "contentType": 1, - "relative": true, - "name": "参数32_图片地址", - "desc": "", - "relativeXPath": "/div[2]/div[1]/div[1]/img[2]", - "allXPaths": [ - "/div[2]/div[1]/div[1]/img[2]", - "//img[contains(., '')]", - "//IMG[@class='brand-tag brand-package']", - "/html/body/div[last()-10]/div[last()-1]/div/div/div/div/div/div[last()-1]/div[last()-3]/div/div[last()-1]/div/img" - ], - "exampleValues": [ - { - "num": 31, - "value": "https://p5.music.126.net/obj/wonDlsKUwrLClGjCm8Kx/21892874340/50e6/e81d/5292/2d693cbb98954e28d4d9fdb11be99a8b.png" - } - ], - "unique_index": "/div[2]/div[1]/div[1]/img[2]", + "exampleValues": [{ "num": 1, "value": "参考位置" }], + "unique_index": "/th[6]", "iframe": true, "default": "", + "paraType": "text", + "recordASField": 1, "beforeJS": "", "beforeJSWaitTime": 0, "JS": "", @@ -2548,18 +879,41 @@ } }, { - "id": 6, - "index": 14, - "parentId": 4, - "type": 0, - "option": 3, - "title": "提取数据", - "sequence": [], + "id": -1, + "index": 9, + "parentId": 5, + "type": 2, + "option": 9, + "title": "判断条件", + "sequence": [10], "isInLoop": true, "position": 1, "parameters": { - "history": 4, - "tabIndex": -1, + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0 + } + }, + { + "id": -1, + "parentId": 9, + "index": 10, + "type": 3, + "option": 10, + "title": "条件分支", + "sequence": [16], + "isInLoop": true, + "parameters": { + "history": 1, + "tabIndex": 0, "useLoop": false, "xpath": "", "iframe": false, @@ -2569,34 +923,314 @@ "beforeJSWaitTime": 0, "afterJS": "", "afterJSWaitTime": 0, - "params": [ - { - "nodeType": 1, - "contentType": 0, - "relative": false, - "name": "参数33_链接文本", - "desc": "", - "extractType": 0, - "relativeXPath": "/html/body/div[1]/div[1]/div[1]/h1[1]/a[1]", - "allXPaths": [ - "/html/body/div[1]/div[1]/div[1]/h1[1]/a[1]", - "//a[contains(., '网易云音乐')]", - "/html/body/div[last()-7]/div[last()-2]/div/h1/a" - ], - "exampleValues": [{ "num": 0, "value": "网易云音乐" }], - "unique_index": "3mjhotxlh4mljnhapl0", - "iframe": false, - "default": "", - "beforeJS": "", - "beforeJSWaitTime": 0, - "JS": "", - "JSWaitTime": 0, - "afterJS": "", - "afterJSWaitTime": 0, - "downloadPic": 0 - } - ] + "class": "3", + "value": "日本", + "code": "", + "waitTime": 0 + }, + "position": 0 + }, + { + "id": -1, + "parentId": 9, + "index": 11, + "type": 3, + "option": 10, + "title": "条件分支", + "sequence": [], + "isInLoop": true, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "class": 0, + "value": "", + "code": "", + "waitTime": 0 + }, + "position": 1 + }, + { + "index": 12, + "id": -1, + "parentId": 9, + "type": 3, + "option": 10, + "title": "条件分支", + "sequence": [13], + "isInLoop": true, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "class": 0, + "value": "", + "code": "", + "waitTime": 0 + }, + "position": 0 + }, + { + "id": -1, + "index": 13, + "parentId": 10, + "type": 2, + "option": 9, + "title": "条件分支", + "sequence": [14, 15], + "isInLoop": true, + "position": 0, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0 } + }, + { + "id": -1, + "parentId": 13, + "index": 14, + "type": 3, + "option": 10, + "title": "条件分支", + "sequence": [], + "isInLoop": true, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "class": 0, + "value": "", + "code": "", + "waitTime": 0 + }, + "position": 0 + }, + { + "id": -1, + "parentId": 13, + "index": 15, + "type": 3, + "option": 10, + "title": "条件分支", + "sequence": [], + "isInLoop": true, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "class": 0, + "value": "", + "code": "", + "waitTime": 0 + }, + "position": 1 + }, + { + "id": -1, + "index": 16, + "parentId": 11, + "type": 0, + "option": 5, + "title": "Break", + "sequence": [], + "isInLoop": true, + "position": 0, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "codeMode": "3", + "code": "", + "waitTime": 0, + "recordASField": 0, + "paraType": "text" + } + }, + { + "id": -1, + "index": 17, + "parentId": 4, + "type": 2, + "option": 9, + "title": "判断条件", + "sequence": [18], + "isInLoop": true, + "position": 1, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0 + } + }, + { + "id": -1, + "parentId": 6, + "index": 18, + "type": 3, + "option": 10, + "title": "条件分支", + "sequence": [20], + "isInLoop": true, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": true, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "class": "5", + "value": "哥伦比亚", + "code": "return document.body.innerText.includes(\"哥伦比亚\")", + "waitTime": 0 + }, + "position": 0 + }, + { + "id": -1, + "parentId": 7, + "index": 19, + "type": 3, + "option": 10, + "title": "条件分支", + "sequence": [], + "isInLoop": true, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "class": 0, + "value": "", + "code": "", + "waitTime": 0 + }, + "position": 1 + }, + { + "id": -1, + "index": 20, + "parentId": 9, + "type": 0, + "option": 5, + "title": "退出循环", + "sequence": [], + "isInLoop": true, + "position": 0, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": true, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "codeMode": "3", + "code": "", + "waitTime": 0, + "recordASField": 0, + "paraType": "text" + } + }, + { + "index": 21, + "id": -1, + "parentId": 6, + "type": 3, + "option": 10, + "title": "条件分支", + "sequence": [], + "isInLoop": true, + "parameters": { + "history": 1, + "tabIndex": 0, + "useLoop": false, + "xpath": "", + "iframe": false, + "wait": 0, + "waitType": 0, + "beforeJS": "", + "beforeJSWaitTime": 0, + "afterJS": "", + "afterJSWaitTime": 0, + "class": 0, + "value": "", + "code": "", + "waitTime": 0 + }, + "position": 0 } ] } diff --git a/ElectronJS/tasks/205.json b/ElectronJS/tasks/205.json index a5aba4c..69fe2d0 100644 --- a/ElectronJS/tasks/205.json +++ b/ElectronJS/tasks/205.json @@ -1 +1 @@ -{"id":205,"name":"京东全球版-专业的综合网上购物商城","url":"https://www.jd.com","links":"https://www.jd.com","create_time":"8/10/2023, 6:19:22 PM","update_time":"8/10/2023, 6:35:26 PM","version":"0.5.0","saveThreshold":10,"cloudflare":0,"environment":0,"maxViewLength":15,"recordLog":1,"outputFormat":"xlsx","saveName":"current_time","inputExcel":"","startFromExit":0,"containJudge":false,"desc":"https://www.jd.com","inputParameters":[{"id":0,"name":"urlList_0","nodeId":1,"nodeName":"打开网页","value":"https://www.jd.com","desc":"要采集的网址列表,多行以\\n分开","type":"text","exampleValue":"https://www.jd.com"},{"id":1,"name":"loopText_1","nodeId":4,"nodeName":"循环","desc":"要输入的文本/网址,多行以\\n分开","type":"text","exampleValue":"1~2\n3~4","value":"1~2\n3~4"},{"id":2,"name":"inputText_2","nodeName":"输入文字","nodeId":12,"desc":"要输入的文本,如京东搜索框输入:电脑","type":"text","exampleValue":"Field[\"参数2_链接地址\"]+Field[\"自定义操作2\"]","value":"Field[\"参数2_链接地址\"]+Field[\"自定义操作2\"]"}],"outputParameters":[{"id":0,"name":"参数1_链接文本","desc":"","type":"text","recordASField":1,"exampleValue":"手机"},{"id":1,"name":"参数2_链接地址","desc":"","type":"text","recordASField":1,"exampleValue":"https://shouji.jd.com/"},{"id":2,"name":"自定义操作","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""},{"id":3,"name":"自定义操作","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""},{"id":4,"name":"自定义操作2","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""}],"graph":[{"index":0,"id":0,"parentId":0,"type":-1,"option":0,"title":"root","sequence":[1,7,4,8,2],"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":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,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"url":"https://www.jd.com","links":"https://www.jd.com","maxWaitTime":10,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"cookies":""}},{"id":5,"index":2,"parentId":0,"type":1,"option":8,"title":"循环","sequence":[3,13,12],"isInLoop":false,"position":4,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"/html/body/div[5]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div/a","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":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[5]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/a[1]","//a[contains(., '手机')]","/html/body/div[last()-5]/div/div[last()-4]/div/div[last()-2]/div/div/div/div[last()-1]/div[last()-12]/a[last()-1]"]}},{"id":9,"index":3,"parentId":5,"type":0,"option":3,"title":"提取数据","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"params":[{"nodeType":1,"contentType":0,"relative":true,"name":"参数1_链接文本","desc":"","extractType":0,"relativeXPath":"","allXPaths":"","exampleValues":[{"num":0,"value":"手机"}],"unique_index":"hxrjjymdhcll50bpgx","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":2,"contentType":0,"relative":true,"name":"参数2_链接地址","desc":"","relativeXPath":"","allXPaths":"","exampleValues":[{"num":0,"value":"https://shouji.jd.com/"}],"unique_index":"hxrjjymdhcll50bpgx","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}],"loopType":1}},{"id":3,"index":4,"parentId":0,"type":1,"option":8,"title":"循环","sequence":[6,5,14],"isInLoop":false,"position":2,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":"3","pathList":"","textList":"1~2\n3~4","code":"","waitTime":0,"exitCount":0,"historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0}},{"id":7,"index":5,"parentId":3,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":3,"tabIndex":-1,"useLoop":true,"xpath":"//*[@id=\"key\"]","iframe":false,"wait":1,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"","index":1,"allXPaths":["/html/body/div[4]/div[1]/div[2]/div[1]/input[1]","//input[contains(., '')]","id(\"key\")","//INPUT[@class='text defcolor']","/html/body/div[last()-6]/div/div[last()-2]/div/input"]}},{"id":6,"index":6,"parentId":3,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":1,"tabIndex":0,"useLoop":true,"xpath":"//*[@id=\"key\"]","iframe":false,"wait":1,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"","index":2}},{"id":2,"index":7,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":1,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"codeMode":"5","code":"self.a = 15","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":4,"index":8,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":3,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"codeMode":"5","code":"print(self.a, \"sdf---------------\")\nself.a += 222\nprint(self.a, \"sdf---------------\")","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":-1,"index":9,"parentId":0,"type":2,"option":9,"title":"判断条件","sequence":[10,11],"isInLoop":false,"position":5,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0}},{"id":-1,"parentId":6,"index":10,"type":3,"option":10,"title":"条件分支","sequence":[],"isInLoop":false,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":0},{"id":-1,"parentId":6,"index":11,"type":3,"option":10,"title":"条件分支","sequence":[],"isInLoop":false,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":1},{"id":11,"index":12,"parentId":5,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":2,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"//*[@id=\"key\"]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"Field[\"参数2_链接地址\"]+Field[\"自定义操作2\"]","index":0}},{"id":10,"index":13,"parentId":5,"type":0,"option":5,"title":"自定义操作2","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"codeMode":"6","code":"str(self.a) + \"TEST\"","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":8,"index":14,"parentId":3,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":2,"parameters":{"history":1,"tabIndex":0,"useLoop":true,"xpath":"//*[@id=\"key\"]","iframe":false,"wait":1,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"0","index":0}}]} \ No newline at end of file +{"id":205,"name":"京东全球版-专业的综合网上购物商城","url":"https://www.jd.com","links":"https://www.jd.com","create_time":"8/10/2023, 6:19:22 PM","update_time":"8/10/2023, 6:35:26 PM","version":"0.5.0","saveThreshold":10,"cloudflare":0,"environment":0,"maxViewLength":15,"recordLog":1,"outputFormat":"xlsx","saveName":"current_time","inputExcel":"","startFromExit":0,"containJudge":false,"desc":"https://www.jd.com","inputParameters":[{"id":0,"name":"urlList_0","nodeId":1,"nodeName":"打开网页","value":"https://www.jd.com","desc":"要采集的网址列表,多行以\\n分开","type":"text","exampleValue":"https://www.jd.com"},{"id":1,"name":"loopText_1","nodeId":4,"nodeName":"循环","desc":"要输入的文本/网址,多行以\\n分开","type":"text","exampleValue":"1~2\n3~4","value":"1~2\n3~4"},{"id":2,"name":"inputText_2","nodeName":"输入文字","nodeId":12,"desc":"要输入的文本,如京东搜索框输入:电脑","type":"text","exampleValue":"Field[\"参数2_链接地址\"]+Field[\"自定义操作2\"]","value":"Field[\"参数2_链接地址\"]+Field[\"自定义操作2\"]"}],"outputParameters":[{"id":0,"name":"参数1_链接文本","desc":"","type":"text","recordASField":1,"exampleValue":"手机"},{"id":1,"name":"参数2_链接地址","desc":"","type":"text","recordASField":1,"exampleValue":"https://shouji.jd.com/"},{"id":2,"name":"自定义操作","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""},{"id":3,"name":"自定义操作","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""},{"id":4,"name":"自定义操作2","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""}],"graph":[{"index":0,"id":0,"parentId":0,"type":-1,"option":0,"title":"root","sequence":[1,7,4,8,2],"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":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,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"url":"https://www.jd.com","links":"https://www.jd.com","maxWaitTime":10,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"cookies":""}},{"id":5,"index":2,"parentId":0,"type":1,"option":8,"title":"循环","sequence":[3,13,12],"isInLoop":false,"position":4,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"/html/body/div[5]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div/a","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":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[5]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/a[1]","//a[contains(., '手机')]","/html/body/div[last()-5]/div/div[last()-4]/div/div[last()-2]/div/div/div/div[last()-1]/div[last()-12]/a[last()-1]"]}},{"id":9,"index":3,"parentId":5,"type":0,"option":3,"title":"提取数据","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"paras":[{"nodeType":1,"contentType":0,"relative":true,"name":"参数1_链接文本","desc":"","extractType":0,"relativeXPath":"","allXPaths":"","exampleValues":[{"num":0,"value":"手机"}],"unique_index":"hxrjjymdhcll50bpgx","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":2,"contentType":0,"relative":true,"name":"参数2_链接地址","desc":"","relativeXPath":"","allXPaths":"","exampleValues":[{"num":0,"value":"https://shouji.jd.com/"}],"unique_index":"hxrjjymdhcll50bpgx","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}],"loopType":1}},{"id":3,"index":4,"parentId":0,"type":1,"option":8,"title":"循环","sequence":[6,5,14],"isInLoop":false,"position":2,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":"3","pathList":"","textList":"1~2\n3~4","code":"","waitTime":0,"exitCount":0,"historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0}},{"id":7,"index":5,"parentId":3,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":3,"tabIndex":-1,"useLoop":true,"xpath":"//*[@id=\"key\"]","iframe":false,"wait":1,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"","index":1,"allXPaths":["/html/body/div[4]/div[1]/div[2]/div[1]/input[1]","//input[contains(., '')]","id(\"key\")","//INPUT[@class='text defcolor']","/html/body/div[last()-6]/div/div[last()-2]/div/input"]}},{"id":6,"index":6,"parentId":3,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":1,"tabIndex":0,"useLoop":true,"xpath":"//*[@id=\"key\"]","iframe":false,"wait":1,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"","index":2}},{"id":2,"index":7,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":1,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"codeMode":"5","code":"self.a = 15","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":4,"index":8,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":3,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"codeMode":"5","code":"print(self.a, \"sdf---------------\")\nself.a += 222\nprint(self.a, \"sdf---------------\")","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":-1,"index":9,"parentId":0,"type":2,"option":9,"title":"判断条件","sequence":[10,11],"isInLoop":false,"position":5,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0}},{"id":-1,"parentId":6,"index":10,"type":3,"option":10,"title":"条件分支","sequence":[],"isInLoop":false,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":0},{"id":-1,"parentId":6,"index":11,"type":3,"option":10,"title":"条件分支","sequence":[],"isInLoop":false,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"class":0,"value":"","code":"","waitTime":0},"position":1},{"id":11,"index":12,"parentId":5,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":2,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"//*[@id=\"key\"]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"Field[\"参数2_链接地址\"]+Field[\"自定义操作2\"]","index":0}},{"id":10,"index":13,"parentId":5,"type":0,"option":5,"title":"自定义操作2","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"codeMode":"6","code":"str(self.a) + \"TEST\"","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":8,"index":14,"parentId":3,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":2,"parameters":{"history":1,"tabIndex":0,"useLoop":true,"xpath":"//*[@id=\"key\"]","iframe":false,"wait":1,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"0","index":0}}]} \ No newline at end of file diff --git a/ExecuteStage/easyspider_executestage.py b/ExecuteStage/easyspider_executestage.py index f969c0f..1bb8b52 100644 --- a/ExecuteStage/easyspider_executestage.py +++ b/ExecuteStage/easyspider_executestage.py @@ -335,7 +335,10 @@ class BrowserThread(Thread): node["parameters"]["quickExtractable"] = False # 是否可以快速提取 # 如果(不)固定元素列表循环中只有一个提取数据操作,且提取数据操作的提取内容为元素截图,那么可以快速提取 if len(node["sequence"]) == 1 and self.procedure[node["sequence"][0]]["option"] == 3 and (int(node["parameters"]["loopType"]) == 1 or int(node["parameters"]["loopType"]) == 2): - params = self.procedure[node["sequence"][0]]["parameters"]["params"] + try: + params = self.procedure[node["sequence"][0]]["parameters"]["params"] + except: + params = self.procedure[node["sequence"][0]]["parameters"]["paras"] # 兼容0.5.0及以下版本的EasySpider try: waitElement = self.procedure[node["sequence"][0]]["parameters"]["waitElement"] except: diff --git a/Extension/manifest_v3/src/content-scripts/toolkit.vue b/Extension/manifest_v3/src/content-scripts/toolkit.vue index fc9cbf8..126ed4e 100644 --- a/Extension/manifest_v3/src/content-scripts/toolkit.vue +++ b/Extension/manifest_v3/src/content-scripts/toolkit.vue @@ -25,8 +25,6 @@

● 鼠标移动到元素上后,请右键点击或者按F7键选中页面元素。

-

● - 如果此操作台把页面元素挡住了,可以点击此操作台右下角的×按钮键关闭操作台。

● 通过鼠标左键进行点击时,页面也会有反应,但左键点击发生的操作不会被记录在任务流程中;同理,如果想输入文本框但并不想将动作记录,可以鼠标移动到文本框,并按键盘的F9进行输入。

@@ -34,6 +32,8 @@ 如果不小心左键点选了元素导致页面跳转,直接后退或者切换回标签页即可。

● 操作完成后,如点击”确认采集“后任务流程图内没有”提取数据“操作被添加,重试一次即可。

+

● + 如果此操作台把页面元素挡住了,可以点击此操作台右下角的×按钮键关闭操作台。

{{ initial() }}
@@ -231,9 +231,6 @@

● When your mouse moves to the element, please right-click your mouse button or press F7 on the keyboard to select it.

-

● If this toolbox blocks the page element, you can click the × - button in the - lower right corner of this toolbox to close it.

● When clicked with the left mouse button, the page will also respond, but this click operation will not be recorded in the task flow. Similarly, if you want to input in a text box but do not want the action to be recorded , you can move the mouse to the text box and @@ -244,6 +241,9 @@

● After the operation is completed, such as if no "Collect Data" operation is added in the task flowchart after clicking "Confirm Collect", just retry again.

+

● If this toolbox blocks the page element, you can click the × + button in the + lower right corner of this toolbox to close it.

{{ initial() }}