Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

192 строки
5.5 KiB

1 год назад
  1. {
  2. "id": 36,
  3. "name": "JDJD",
  4. "url": "https://www.jd.com",
  5. "links": "https://www.jd.com",
  6. "containJudge": false,
  7. "desc": "https://www.jd.com",
  8. "inputParameters": [
  9. {
  10. "id": 0,
  11. "name": "urlList_0",
  12. "nodeId": 1,
  13. "nodeName": "打开网页",
  14. "value": "https://www.jd.com",
  15. "desc": "要采集的网址列表,多行以\\n分开",
  16. "type": "string",
  17. "exampleValue": "https://www.jd.com"
  18. }
  19. ],
  20. "outputParameters": [
  21. {
  22. "id": 0,
  23. "name": "参数1_页面标题",
  24. "desc": "",
  25. "type": "string",
  26. "exampleValue": "京东全球版-专业的综合网上购物商城"
  27. },
  28. {
  29. "id": 1,
  30. "name": "参数2_页面URL",
  31. "desc": "",
  32. "type": "string",
  33. "exampleValue": "https://global.jd.com/"
  34. },
  35. {
  36. "id": 2,
  37. "name": "参数3_背景图片地址",
  38. "desc": "",
  39. "type": "string",
  40. "exampleValue": ""
  41. }
  42. ],
  43. "graph": [
  44. {
  45. "index": 0,
  46. "id": 0,
  47. "parentId": 0,
  48. "type": -1,
  49. "option": 0,
  50. "title": "root",
  51. "sequence": [
  52. 1,
  53. 3,
  54. 2,
  55. 4
  56. ],
  57. "parameters": {
  58. "history": 1,
  59. "tabIndex": 0,
  60. "useLoop": false,
  61. "xpath": "",
  62. "wait": 0
  63. },
  64. "isInLoop": false
  65. },
  66. {
  67. "id": 1,
  68. "index": 1,
  69. "parentId": 0,
  70. "type": 0,
  71. "option": 1,
  72. "title": "打开网页",
  73. "sequence": [],
  74. "isInLoop": false,
  75. "position": 0,
  76. "parameters": {
  77. "useLoop": false,
  78. "xpath": "",
  79. "wait": 0,
  80. "url": "https://www.jd.com",
  81. "links": "https://www.jd.com",
  82. "scrollType": 0,
  83. "scrollCount": 0
  84. }
  85. },
  86. {
  87. "id": 3,
  88. "index": 2,
  89. "parentId": 0,
  90. "type": 0,
  91. "option": 3,
  92. "title": "提取数据",
  93. "sequence": [],
  94. "isInLoop": false,
  95. "position": 2,
  96. "parameters": {
  97. "history": 4,
  98. "tabIndex": 0,
  99. "useLoop": false,
  100. "xpath": "",
  101. "wait": 0,
  102. "paras": [
  103. {
  104. "nodeType": 0,
  105. "contentType": 6,
  106. "relative": false,
  107. "name": "参数1_页面标题",
  108. "desc": "",
  109. "extractType": 0,
  110. "relativeXPath": "/html/body/div[4]",
  111. "exampleValues": [
  112. {
  113. "num": 0,
  114. "value": "京东全球版-专业的综合网上购物商城"
  115. }
  116. ],
  117. "default": ""
  118. },
  119. {
  120. "nodeType": 0,
  121. "contentType": 5,
  122. "relative": false,
  123. "name": "参数2_页面URL",
  124. "desc": "",
  125. "extractType": 0,
  126. "relativeXPath": "/html/body/div[4]",
  127. "exampleValues": [
  128. {
  129. "num": 0,
  130. "value": "https://global.jd.com/"
  131. }
  132. ]
  133. },
  134. {
  135. "nodeType": 0,
  136. "contentType": 4,
  137. "relative": false,
  138. "name": "参数3_背景图片地址",
  139. "desc": "",
  140. "extractType": 0,
  141. "relativeXPath": "/html/body/div[4]/div[1]",
  142. "exampleValues": [
  143. {
  144. "num": 0,
  145. "value": ""
  146. }
  147. ]
  148. }
  149. ]
  150. }
  151. },
  152. {
  153. "id": 2,
  154. "index": 3,
  155. "parentId": 0,
  156. "type": 0,
  157. "option": 5,
  158. "title": "自定义操作",
  159. "sequence": [],
  160. "isInLoop": false,
  161. "position": 1,
  162. "parameters": {
  163. "history": 1,
  164. "tabIndex": 0,
  165. "useLoop": false,
  166. "xpath": "",
  167. "wait": 0,
  168. "codeMode": 0,
  169. "code": "alert(\"My name is Naibo Wang\")"
  170. }
  171. },
  172. {
  173. "id": 4,
  174. "index": 4,
  175. "parentId": 0,
  176. "type": 0,
  177. "option": 5,
  178. "title": "自定义操作",
  179. "sequence": [],
  180. "isInLoop": false,
  181. "position": 3,
  182. "parameters": {
  183. "history": 1,
  184. "tabIndex": 0,
  185. "useLoop": false,
  186. "xpath": "",
  187. "wait": 0,
  188. "codeMode": "1",
  189. "code": "ping www.baidu.com"
  190. }
  191. }
  192. ]
  193. }