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

342 строки
11 KiB

1 год назад
  1. {
  2. "id": 177,
  3. "name": "京东全球版-专业的综合网上购物商城",
  4. "url": "https://www.jd.com",
  5. "links": "https://www.jd.com",
  6. "create_time": "7/14/2023, 6:44:54 AM",
  7. "update_time": "7/14/2023, 7:01:48 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": "loopTimes_循环_1",
  33. "nodeId": 2,
  34. "nodeName": "循环",
  35. "desc": "循环循环执行的次数(0代表无限循环)",
  36. "type": "int",
  37. "exampleValue": 0,
  38. "value": 0
  39. }
  40. ],
  41. "outputParameters": [
  42. {
  43. "id": 0,
  44. "name": "参数1_文本",
  45. "desc": "",
  46. "type": "text",
  47. "recordASField": 1,
  48. "exampleValue": "/手机/数码/家用电器/电脑/办公/家纺/家居/厨具/家具/家装/灯具/工业品/内衣/男装/女装/童装/箱包/钟表/珠宝/女鞋/运动/户外/男鞋/汽车用品/车载电器/母婴/洗护喂养/玩具乐器/宠物生活/家庭清洁/个人护理/计生情趣/图书/童书/文学"
  49. },
  50. {
  51. "id": 1,
  52. "name": "自定义操作",
  53. "desc": "自定义操作返回的数据",
  54. "type": "text",
  55. "recordASField": 0,
  56. "exampleValue": ""
  57. },
  58. {
  59. "id": 2,
  60. "name": "自定义操作",
  61. "desc": "自定义操作返回的数据",
  62. "type": "text",
  63. "recordASField": 0,
  64. "exampleValue": ""
  65. },
  66. {
  67. "id": 3,
  68. "name": "自定义操作",
  69. "desc": "自定义操作返回的数据",
  70. "type": "text",
  71. "recordASField": 0,
  72. "exampleValue": ""
  73. }
  74. ],
  75. "graph": [
  76. {
  77. "index": 0,
  78. "id": 0,
  79. "parentId": 0,
  80. "type": -1,
  81. "option": 0,
  82. "title": "root",
  83. "sequence": [
  84. 1,
  85. 4,
  86. 2
  87. ],
  88. "parameters": {
  89. "history": 1,
  90. "tabIndex": 0,
  91. "useLoop": false,
  92. "xpath": "",
  93. "wait": 0,
  94. "waitType": 0
  95. },
  96. "isInLoop": false
  97. },
  98. {
  99. "id": 1,
  100. "index": 1,
  101. "parentId": 0,
  102. "type": 0,
  103. "option": 1,
  104. "title": "打开网页",
  105. "sequence": [],
  106. "isInLoop": false,
  107. "position": 0,
  108. "parameters": {
  109. "useLoop": false,
  110. "xpath": "",
  111. "wait": 0,
  112. "waitType": 0,
  113. "beforeJS": "",
  114. "beforeJSWaitTime": 0,
  115. "afterJS": "",
  116. "afterJSWaitTime": 0,
  117. "url": "https://www.jd.com",
  118. "links": "https://www.jd.com",
  119. "maxWaitTime": 10,
  120. "scrollType": 0,
  121. "scrollCount": 1,
  122. "scrollWaitTime": 1,
  123. "cookies": ""
  124. }
  125. },
  126. {
  127. "id": 3,
  128. "index": 2,
  129. "parentId": 0,
  130. "type": 1,
  131. "option": 8,
  132. "title": "循环",
  133. "sequence": [
  134. 5,
  135. 6,
  136. 3,
  137. 7
  138. ],
  139. "isInLoop": false,
  140. "position": 2,
  141. "parameters": {
  142. "history": 1,
  143. "tabIndex": 0,
  144. "useLoop": false,
  145. "xpath": "/html/body/div[5]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]",
  146. "iframe": false,
  147. "wait": 0,
  148. "waitType": 0,
  149. "beforeJS": "",
  150. "beforeJSWaitTime": 0,
  151. "afterJS": "",
  152. "afterJSWaitTime": 0,
  153. "scrollType": 0,
  154. "scrollCount": 1,
  155. "scrollWaitTime": 1,
  156. "loopType": 0,
  157. "pathList": "",
  158. "textList": "",
  159. "code": "",
  160. "waitTime": 0,
  161. "exitCount": 0,
  162. "historyWait": 2,
  163. "breakMode": 0,
  164. "breakCode": "",
  165. "breakCodeWaitTime": 0
  166. }
  167. },
  168. {
  169. "id": 6,
  170. "index": 3,
  171. "parentId": 3,
  172. "type": 0,
  173. "option": 3,
  174. "title": "提取数据",
  175. "sequence": [],
  176. "isInLoop": true,
  177. "position": 2,
  178. "parameters": {
  179. "history": 4,
  180. "tabIndex": -1,
  181. "useLoop": false,
  182. "xpath": "",
  183. "iframe": false,
  184. "wait": 0,
  185. "waitType": 0,
  186. "beforeJS": "",
  187. "beforeJSWaitTime": 0,
  188. "afterJS": "",
  189. "afterJSWaitTime": 0,
  190. "clear": 0,
  191. "paras": [
  192. {
  193. "nodeType": 0,
  194. "contentType": 0,
  195. "relative": true,
  196. "name": "参数1_文本",
  197. "desc": "",
  198. "extractType": 0,
  199. "relativeXPath": "//a[Field[\"自定义操作\"]]",
  200. "allXPaths": [
  201. "/html/body/div[5]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]",
  202. "//div[contains(., '/手机/数码/家用电')]",
  203. "//DIV[@class='LeftSide_menu_list__qXCeM']",
  204. "/html/body/div[last()-6]/div/div[last()-4]/div/div[last()-2]/div/div/div/div[last()-1]"
  205. ],
  206. "exampleValues": [
  207. {
  208. "num": 0,
  209. "value": "/手机/数码/家用电器/电脑/办公/家纺/家居/厨具/家具/家装/灯具/工业品/内衣/男装/女装/童装/箱包/钟表/珠宝/女鞋/运动/户外/男鞋/汽车用品/车载电器/母婴/洗护喂养/玩具乐器/宠物生活/家庭清洁/个人护理/计生情趣/图书/童书/文学"
  210. }
  211. ],
  212. "unique_index": "6bzoou5h7glk1qcdmv",
  213. "iframe": false,
  214. "default": "",
  215. "paraType": "text",
  216. "recordASField": 1,
  217. "beforeJS": "",
  218. "beforeJSWaitTime": 0,
  219. "JS": "",
  220. "JSWaitTime": 0,
  221. "afterJS": "",
  222. "afterJSWaitTime": 0,
  223. "downloadPic": 0
  224. }
  225. ]
  226. }
  227. },
  228. {
  229. "id": 2,
  230. "index": 4,
  231. "parentId": 0,
  232. "type": 0,
  233. "option": 5,
  234. "title": "自定义操作",
  235. "sequence": [],
  236. "isInLoop": false,
  237. "position": 1,
  238. "parameters": {
  239. "history": 1,
  240. "tabIndex": 0,
  241. "useLoop": false,
  242. "xpath": "",
  243. "iframe": false,
  244. "wait": 0,
  245. "waitType": 0,
  246. "beforeJS": "",
  247. "beforeJSWaitTime": 0,
  248. "afterJS": "",
  249. "afterJSWaitTime": 0,
  250. "clear": 0,
  251. "codeMode": "5",
  252. "code": "self.myVar = 0",
  253. "waitTime": 0,
  254. "recordASField": 0,
  255. "paraType": "text"
  256. }
  257. },
  258. {
  259. "id": 4,
  260. "index": 5,
  261. "parentId": 3,
  262. "type": 0,
  263. "option": 5,
  264. "title": "自定义操作",
  265. "sequence": [],
  266. "isInLoop": true,
  267. "position": 0,
  268. "parameters": {
  269. "history": 1,
  270. "tabIndex": 0,
  271. "useLoop": false,
  272. "xpath": "",
  273. "iframe": false,
  274. "wait": 0,
  275. "waitType": 0,
  276. "beforeJS": "",
  277. "beforeJSWaitTime": 0,
  278. "afterJS": "",
  279. "afterJSWaitTime": 0,
  280. "clear": 0,
  281. "codeMode": "5",
  282. "code": "self.myVar += 1",
  283. "waitTime": 0,
  284. "recordASField": 0,
  285. "paraType": "text"
  286. }
  287. },
  288. {
  289. "id": 5,
  290. "index": 6,
  291. "parentId": 3,
  292. "type": 0,
  293. "option": 5,
  294. "title": "自定义操作",
  295. "sequence": [],
  296. "isInLoop": true,
  297. "position": 1,
  298. "parameters": {
  299. "history": 1,
  300. "tabIndex": 0,
  301. "useLoop": false,
  302. "xpath": "",
  303. "iframe": false,
  304. "wait": 0,
  305. "waitType": 0,
  306. "beforeJS": "",
  307. "beforeJSWaitTime": 0,
  308. "afterJS": "",
  309. "afterJSWaitTime": 0,
  310. "clear": 0,
  311. "codeMode": "6",
  312. "code": "self.myVar",
  313. "waitTime": 0,
  314. "recordASField": 0,
  315. "paraType": "text"
  316. }
  317. },
  318. {
  319. "id": 7,
  320. "index": 7,
  321. "parentId": 3,
  322. "type": 0,
  323. "option": 7,
  324. "title": "移动到元素",
  325. "sequence": [],
  326. "isInLoop": true,
  327. "position": 3,
  328. "parameters": {
  329. "history": 1,
  330. "tabIndex": 0,
  331. "useLoop": true,
  332. "xpath": "//a[Field[\"自定义操作\"]]",
  333. "iframe": false,
  334. "wait": 0,
  335. "waitType": 0,
  336. "beforeJS": "",
  337. "beforeJSWaitTime": 0,
  338. "afterJS": "",
  339. "afterJSWaitTime": 0
  340. }
  341. }
  342. ]
  343. }