{ "id": 53, "name": "新web采集任务", "url": "https://www.jd.com", "links": "https://www.jd.com", "create_time": "5/19/2023, 2:22:16 AM", "containJudge": false, "desc": "https://www.jd.com", "inputParameters": [ { "id": 0, "name": "urlList_0", "nodeId": 1, "nodeName": "打开网页", "value": "https://www.jd.com", "desc": "要采集的网址列表,多行以\\n分开", "type": "string", "exampleValue": "https://www.jd.com" } ], "outputParameters": [ { "id": 0, "name": "自定义操作2", "desc": "自定义操作返回的数据", "type": "string", "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": "", "wait": 0 }, "isInLoop": false }, { "id": 1, "index": 1, "parentId": 0, "type": 0, "option": 1, "title": "打开网页", "sequence": [], "isInLoop": false, "position": 0, "parameters": { "useLoop": false, "xpath": "", "wait": 0, "beforeJS": "", "beforeJSWaitTime": 0, "afterJS": "", "afterJSWaitTime": 0, "url": "https://www.jd.com", "links": "https://www.jd.com", "scrollType": 0, "scrollCount": 0 } }, { "id": 2, "index": 2, "parentId": 0, "type": 1, "option": 8, "title": "循环", "sequence": [ 3, 4 ], "isInLoop": false, "position": 1, "parameters": { "history": 1, "tabIndex": 0, "useLoop": false, "xpath": "", "wait": 3, "beforeJS": "", "beforeJSWaitTime": 0, "afterJS": "", "afterJSWaitTime": 0, "scrollType": 0, "scrollCount": 0, "loopType": "5", "pathList": "", "textList": "", "code": "return window.innerHeight > 200", "waitTime": 0, "exitCount": 0, "historyWait": 2 } }, { "id": 3, "index": 3, "parentId": 2, "type": 0, "option": 5, "title": "自定义操作2", "sequence": [], "isInLoop": true, "position": 0, "parameters": { "history": 1, "tabIndex": 0, "useLoop": false, "xpath": "", "wait": 0, "beforeJS": "", "beforeJSWaitTime": 0, "afterJS": "", "afterJSWaitTime": 0, "codeMode": 0, "code": "return window.innerHeight", "waitTime": 0, "recordASField": "1" } }, { "id": 4, "index": 4, "parentId": 2, "type": 0, "option": 5, "title": "自定义操作", "sequence": [], "isInLoop": true, "position": 1, "parameters": { "history": 1, "tabIndex": 0, "useLoop": false, "xpath": "", "wait": 0, "beforeJS": "", "beforeJSWaitTime": 0, "afterJS": "", "afterJSWaitTime": 0, "codeMode": "1", "code": "python D:/test.py", "waitTime": 0, "recordASField": "0" } } ] }