|
|
- {
- "id": 41,
- "name": "新web采集任务",
- "url": "https://www.jd.com",
- "links": "https://www.jd.com",
- "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": "参数1_图片地址",
- "desc": "",
- "type": "string",
- "exampleValue": "//m.360buyimg.com/babel/s580x740_jfs/t1/142264/15/32716/14415/63b40389F4a38dbcf/47dcbd8c9f404498.jpg!q70.dpg"
- }
- ],
- "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": 2,
- "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
- ],
- "isInLoop": false,
- "position": 1,
- "parameters": {
- "history": 4,
- "tabIndex": -1,
- "useLoop": false,
- "xpath": "/html/body/div[5]/div[1]/div[4]/div[1]/div[1]/div[1]/a/img[1]",
- "wait": 0,
- "scrollType": 0,
- "scrollCount": 0,
- "loopType": 1,
- "pathList": "",
- "textList": "",
- "exitCount": 0,
- "historyWait": 2
- }
- },
- {
- "id": 3,
- "index": 3,
- "parentId": 2,
- "type": 0,
- "option": 3,
- "title": "提取数据",
- "sequence": [],
- "isInLoop": true,
- "position": 0,
- "parameters": {
- "history": 4,
- "tabIndex": -1,
- "useLoop": false,
- "xpath": "",
- "wait": 0,
- "paras": [
- {
- "nodeType": 4,
- "contentType": 7,
- "relative": true,
- "name": "参数1_图片地址",
- "desc": "",
- "extractType": 0,
- "relativeXPath": "",
- "exampleValues": [
- {
- "num": 0,
- "value": "//m.360buyimg.com/babel/s580x740_jfs/t1/142264/15/32716/14415/63b40389F4a38dbcf/47dcbd8c9f404498.jpg!q70.dpg"
- },
- {
- "num": 1,
- "value": "//m.360buyimg.com/babel/s580x740_jfs/t1/42759/37/22689/30450/63b40382F7411d238/d4622671799c75bd.jpg!q70.dpg"
- }
- ],
- "default": ""
- }
- ],
- "loopType": 1
- }
- }
- ]
- }
|