You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

248 lines
6.2 KiB

9 months ago
9 months ago
  1. {
  2. "id": 187,
  3. "name": "京东全球版-专业的综合网上购物商城",
  4. "url": "https://www.jd.com",
  5. "links": "about:blank",
  6. "create_time": "7/17/2023, 2:29:10 PM",
  7. "update_time": "7/18/2023, 1:21:18 AM",
  8. "version": "0.3.6",
  9. "saveThreshold": 10,
  10. "cloudflare": 0,
  11. "environment": 0,
  12. "maxViewLength": 15,
  13. "outputFormat": "xlsx",
  14. "saveName": "current_time",
  15. "inputExcel": "",
  16. "startFromExit": 0,
  17. "containJudge": false,
  18. "desc": "https://www.jd.com",
  19. "inputParameters": [
  20. {
  21. "id": 0,
  22. "name": "urlList_0",
  23. "nodeId": 1,
  24. "nodeName": "打开网页",
  25. "value": "https://www.jd.com",
  26. "desc": "要采集的网址列表,多行以\\n分开",
  27. "type": "text",
  28. "exampleValue": "https://www.jd.com"
  29. },
  30. {
  31. "id": 1,
  32. "name": "inputText_1",
  33. "nodeName": "输入文字",
  34. "nodeId": 3,
  35. "desc": "要输入的文本,如京东搜索框输入:电脑",
  36. "type": "text",
  37. "exampleValue": "Field[\"OCR\"]",
  38. "value": "Field[\"OCR\"]"
  39. },
  40. {
  41. "id": 2,
  42. "name": "urlList_2",
  43. "nodeId": 4,
  44. "nodeName": "打开网页",
  45. "value": "about:blank",
  46. "desc": "要采集的网址列表,多行以\\n分开",
  47. "type": "text",
  48. "exampleValue": "about:blank"
  49. }
  50. ],
  51. "outputParameters": [
  52. {
  53. "id": 0,
  54. "name": "OCR",
  55. "desc": "",
  56. "type": "text",
  57. "recordASField": 0,
  58. "exampleValue": "/手机/数码"
  59. }
  60. ],
  61. "graph": [
  62. {
  63. "index": 0,
  64. "id": 0,
  65. "parentId": 0,
  66. "type": -1,
  67. "option": 0,
  68. "title": "root",
  69. "sequence": [1, 3, 2, 4],
  70. "parameters": {
  71. "history": 1,
  72. "tabIndex": 0,
  73. "useLoop": false,
  74. "xpath": "",
  75. "iframe": false,
  76. "wait": 0,
  77. "waitType": 0,
  78. "beforeJS": "",
  79. "beforeJSWaitTime": 0,
  80. "afterJS": "",
  81. "afterJSWaitTime": 0,
  82. "waitElement": "",
  83. "waitElementTime": 10,
  84. "waitElementIframeIndex": 0
  85. },
  86. "isInLoop": false
  87. },
  88. {
  89. "id": 1,
  90. "index": 1,
  91. "parentId": 0,
  92. "type": 0,
  93. "option": 1,
  94. "title": "打开网页",
  95. "sequence": [],
  96. "isInLoop": false,
  97. "position": 0,
  98. "parameters": {
  99. "useLoop": false,
  100. "xpath": "",
  101. "wait": 0,
  102. "waitType": 0,
  103. "beforeJS": "",
  104. "beforeJSWaitTime": 0,
  105. "afterJS": "",
  106. "afterJSWaitTime": 0,
  107. "waitElement": "",
  108. "waitElementTime": 10,
  109. "waitElementIframeIndex": 0,
  110. "url": "https://www.jd.com",
  111. "links": "https://www.jd.com",
  112. "maxWaitTime": 10,
  113. "scrollType": 0,
  114. "scrollCount": 1,
  115. "scrollWaitTime": 1,
  116. "cookies": ""
  117. }
  118. },
  119. {
  120. "id": 3,
  121. "index": 2,
  122. "parentId": 0,
  123. "type": 0,
  124. "option": 3,
  125. "title": "提取数据",
  126. "sequence": [],
  127. "isInLoop": false,
  128. "position": 2,
  129. "parameters": {
  130. "history": 4,
  131. "tabIndex": -1,
  132. "useLoop": false,
  133. "xpath": "",
  134. "iframe": false,
  135. "wait": 0,
  136. "waitType": 0,
  137. "beforeJS": "",
  138. "beforeJSWaitTime": 0,
  139. "afterJS": "",
  140. "afterJSWaitTime": 0,
  141. "waitElement": "",
  142. "waitElementTime": 10,
  143. "waitElementIframeIndex": 0,
  144. "clear": 0,
  145. "params": [
  146. {
  147. "nodeType": 0,
  148. "contentType": 8,
  149. "relative": false,
  150. "name": "OCR",
  151. "desc": "",
  152. "extractType": 0,
  153. "relativeXPath": "/html/body/div[5]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]",
  154. "allXPaths": [
  155. "/html/body/div[5]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]",
  156. "//div[contains(., '/手机/数码')]",
  157. "//DIV[@class='LeftSide_menu_item__SBMWC LeftSide_text_space__2UhbG LeftSide_menu_hover__OCHiO']",
  158. "/html/body/div[last()-6]/div/div[last()-4]/div/div[last()-2]/div/div/div/div[last()-1]/div[last()-12]"
  159. ],
  160. "exampleValues": [{ "num": 0, "value": "/手机/数码" }],
  161. "unique_index": "mf51k6v4mcnlk6hiucm",
  162. "iframe": false,
  163. "default": "",
  164. "paraType": "text",
  165. "recordASField": 0,
  166. "beforeJS": "",
  167. "beforeJSWaitTime": 0,
  168. "JS": "",
  169. "JSWaitTime": 0,
  170. "afterJS": "",
  171. "afterJSWaitTime": 0,
  172. "downloadPic": 0
  173. }
  174. ]
  175. }
  176. },
  177. {
  178. "id": 2,
  179. "index": 3,
  180. "parentId": 0,
  181. "type": 0,
  182. "option": 4,
  183. "title": "输入文字",
  184. "sequence": [],
  185. "isInLoop": false,
  186. "position": 1,
  187. "parameters": {
  188. "history": 4,
  189. "tabIndex": -1,
  190. "useLoop": false,
  191. "xpath": "//*[@id=\"key\"]",
  192. "iframe": false,
  193. "wait": 0,
  194. "waitType": 0,
  195. "beforeJS": "",
  196. "beforeJSWaitTime": 0,
  197. "afterJS": "",
  198. "afterJSWaitTime": 0,
  199. "waitElement": "",
  200. "waitElementTime": 10,
  201. "waitElementIframeIndex": 0,
  202. "value": "Field[\"OCR\"]",
  203. "index": 0,
  204. "allXPaths": [
  205. "/html/body/div[4]/div[1]/div[2]/div[1]/input[1]",
  206. "//input[contains(., '')]",
  207. "id(\"key\")",
  208. "//INPUT[@class='text defcolor']",
  209. "/html/body/div[last()-7]/div/div[last()-2]/div/input"
  210. ]
  211. }
  212. },
  213. {
  214. "id": 4,
  215. "index": 4,
  216. "parentId": 0,
  217. "type": 0,
  218. "option": "1",
  219. "title": "打开网页",
  220. "sequence": [],
  221. "isInLoop": false,
  222. "position": 3,
  223. "parameters": {
  224. "history": 1,
  225. "tabIndex": 0,
  226. "useLoop": false,
  227. "xpath": "",
  228. "iframe": false,
  229. "wait": 0,
  230. "waitType": 0,
  231. "beforeJS": "",
  232. "beforeJSWaitTime": 0,
  233. "afterJS": "",
  234. "afterJSWaitTime": 0,
  235. "waitElement": "",
  236. "waitElementTime": 10,
  237. "waitElementIframeIndex": 0,
  238. "url": "about:blank",
  239. "links": "about:blank",
  240. "maxWaitTime": 10,
  241. "scrollType": 0,
  242. "scrollCount": 1,
  243. "scrollWaitTime": 1,
  244. "cookies": ""
  245. }
  246. }
  247. ]
  248. }