Skip to content

Commit

Permalink
Bug fix for contextMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
naibo committed Oct 30, 2023
1 parent 58f0bda commit 025ebaf
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"id":111,"name":"Hepa Filter For Jv85 Jv85 Pro H9 Pro A6/a7/a8 Vacuum Cleaner Accessories Filter Elements 4pcs Hy | Fruugo UK","url":"https://www.fruugo.co.uk/hepa-filter-for-jv85-jv85-pro-h9-pro-a6a7a8-vacuum-cleaner-accessories-filter-elements-4pcs-hy/p-183579226-392078547","links":"https://www.fruugo.co.uk/hepa-filter-for-jv85-jv85-pro-h9-pro-a6a7a8-vacuum-cleaner-accessories-filter-elements-4pcs-hy/p-183579226-392078547","create_time":"2023/10/26 18:13:26","update_time":"10/30/2023, 1:58:29 PM","version":"0.5.0","saveThreshold":10,"cloudflare":0,"environment":0,"maxViewLength":15,"recordLog":1,"outputFormat":"xlsx","saveName":"current_time","inputExcel":"","startFromExit":0,"containJudge":false,"desc":"https://www.fruugo.co.uk/hepa-filter-for-jv85-jv85-pro-h9-pro-a6a7a8-vacuum-cleaner-accessories-filter-elements-4pcs-hy/p-183579226-392078547","inputParameters":[{"id":0,"name":"urlList_0","nodeId":1,"nodeName":"打开网页","value":"https://www.fruugo.co.uk/hepa-filter-for-jv85-jv85-pro-h9-pro-a6a7a8-vacuum-cleaner-accessories-filter-elements-4pcs-hy/p-183579226-392078547","desc":"要采集的网址列表,多行以\\n分开","type":"text","exampleValue":"https://www.fruugo.co.uk/hepa-filter-for-jv85-jv85-pro-h9-pro-a6a7a8-vacuum-cleaner-accessories-filter-elements-4pcs-hy/p-183579226-392078547"}],"outputParameters":[{"id":0,"name":"title","desc":"","type":"text","recordASField":1,"exampleValue":"Hepa Filter For Jv85 Jv85 Pro H9 Pro A6/a7/a8 Vacuum Cleaner Accessories Filter Elements 4pcs Hy"},{"id":1,"name":"price","desc":"","type":"text","recordASField":1,"exampleValue":"£10.94"},{"id":2,"name":"shipcost","desc":"","type":"text","recordASField":1,"exampleValue":"+ £11.50 Shipping"},{"id":3,"name":"stock","desc":"","type":"text","recordASField":1,"exampleValue":"In stock"},{"id":4,"name":"img1","desc":"","type":"text","recordASField":1,"exampleValue":"https://img.fruugo.com/product/8/19/862838198_0100_0100.jpg"},{"id":5,"name":"img2","desc":"","type":"text","recordASField":1,"exampleValue":"https://img.fruugo.com/product/6/21/862838216_0100_0100.jpg"},{"id":6,"name":"img3","desc":"","type":"text","recordASField":1,"exampleValue":"https://img.fruugo.com/product/3/22/862838223_0100_0100.jpg"},{"id":7,"name":"img4","desc":"","type":"text","recordASField":1,"exampleValue":"https://img.fruugo.com/product/2/25/862838252_0100_0100.jpg"},{"id":8,"name":"img5","desc":"","type":"text","recordASField":1,"exampleValue":"https://img.fruugo.com/product/3/26/862838263_0100_0100.jpg"},{"id":9,"name":"description","desc":"","type":"text","recordASField":1,"exampleValue":"Description \nMade of high quality material, durable to useReplacing your filter regularly will also improve the cleaning performance and suction of your vacuum cleanerEasy to remove and replace as part of routine maintenance, highly match with the equipmentNice spare parts to maintain and upgrade your vacuum cleanerModel Number: for JV85 JV85 PROType: Vacuum Cleaner Partscolour:White+greyMaterial:plasticPackage Contents:4 x ComponentOnly the above package content, other products are not included.Note: Light reflection and different displays may cause the color of the item in the picture a little different from the real thing. The measurement allowed error is +/- 1-3cm. \n"},{"id":10,"name":"catalog","desc":"","type":"text","recordASField":1,"exampleValue":"\n <ol class=\"breadcrumb\" style=\"box-shadow: none;\">\n <li class=\"breadcrumb-item\" style=\"box-shadow: none;\">\n <a href=\"/home-garden/a-536\" style=\"box-shadow: none;\">Home &amp; Garden</a>\n </li>\n <li class=\"breadcrumb-item\" style=\"box-shadow: none;\">\n <a href=\"/household-appliance-accessories/a-3348\" style=\"box-shadow: none;\">Household Appliance Accessories</a>\n </li>\n <li class=\"breadcrumb-item\" style=\"box-shadow: none;\">\n <a href=\"/vacuum-accessories/a-618\" style=\"box-shadow: none;\">Vacuum Accessories</a>\n </li>\n </ol>\n"}],"graph":[{"index":0,"id":0,"parentId":0,"type":-1,"option":0,"title":"root","sequence":[1,2],"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":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,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"url":"https://www.fruugo.co.uk/hepa-filter-for-jv85-jv85-pro-h9-pro-a6a7a8-vacuum-cleaner-accessories-filter-elements-4pcs-hy/p-183579226-392078547","links":"https://www.fruugo.co.uk/hepa-filter-for-jv85-jv85-pro-h9-pro-a6a7a8-vacuum-cleaner-accessories-filter-elements-4pcs-hy/p-183579226-392078547","maxWaitTime":10,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"cookies":""}},{"id":2,"index":2,"parentId":0,"type":0,"option":3,"title":"提取数据","sequence":[],"isInLoop":false,"position":1,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"clear":0,"paras":[{"nodeType":0,"contentType":0,"relative":false,"name":"title","desc":"","extractType":0,"relativeXPath":"/html/body/div[1]/main[1]/div[2]/div[1]/div[2]/div[1]/div[1]/h1[1]","allXPaths":["/html/body/div[1]/main[1]/div[2]/div[1]/div[2]/div[1]/div[1]/h1[1]","//h1[contains(., 'Hepa Filte')]","//H1[@class='mb-8 js-product-title']","/html/body/div[last()-4]/main/div/div[last()-5]/div/div[last()-1]/div[last()-1]/h1"],"exampleValues":[{"num":0,"value":"Hepa Filter For Jv85 Jv85 Pro H9 Pro A6/a7/a8 Vacuum Cleaner Accessories Filter Elements 4pcs Hy"}],"unique_index":"1avppaw4xsplo70huc6","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":0,"relative":false,"name":"price","desc":"","extractType":0,"relativeXPath":"/html/body/div[1]/main[1]/div[2]/div[1]/div[2]/div[2]/div[1]/span[1]","allXPaths":["/html/body/div[1]/main[1]/div[2]/div[1]/div[2]/div[2]/div[1]/span[1]","//span[contains(., '£10.94')]","//SPAN[@class='d-none d-xl-block price']","/html/body/div[last()-4]/main/div/div[last()-5]/div/div/div/span[last()-1]"],"exampleValues":[{"num":0,"value":"£10.94"}],"unique_index":"fjtgafkv62lo70i72u","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":0,"relative":false,"name":"shipcost","desc":"","extractType":0,"relativeXPath":"/html/body/div[1]/main[1]/div[2]/div[1]/div[2]/div[2]/div[1]/span[2]","allXPaths":["/html/body/div[1]/main[1]/div[2]/div[1]/div[2]/div[2]/div[1]/span[2]","//span[contains(., '+ £11.50 S')]","//SPAN[@class='text-muted text-nowrap']","/html/body/div[last()-4]/main/div/div[last()-5]/div/div/div/span"],"exampleValues":[{"num":0,"value":"+ £11.50 Shipping"}],"unique_index":"wt86cejj4tlo70ie3b","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":0,"relative":false,"name":"stock","desc":"","extractType":0,"relativeXPath":"/html/body/div[1]/main[1]/div[2]/div[1]/div[2]/div[2]/div[1]/p[1]/a[1]/strong[1]","allXPaths":["/html/body/div[1]/main[1]/div[2]/div[1]/div[2]/div[2]/div[1]/p[1]/a[1]/strong[1]","//strong[contains(., 'In stock')]","/html/body/div[last()-4]/main/div/div[last()-5]/div/div/div/p[last()-1]/a/strong"],"exampleValues":[{"num":0,"value":"In stock"}],"unique_index":"64fbc4cm2fklo70j272","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":4,"contentType":0,"relative":false,"name":"img1","desc":"","extractType":0,"relativeXPath":"/html/body/div[1]/main[1]/div[2]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/img","allXPaths":["/html/body/div[1]/main[1]/div[2]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/img[1]","//img[contains(., '')]","//IMG[@class='ProductGallery__Thumb__Image']","/html/body/div[last()-4]/main/div/div[last()-5]/div[last()-1]/div/div/div[last()-1]/div[last()-4]/img"],"exampleValues":[{"num":0,"value":"https://img.fruugo.com/product/8/19/862838198_0100_0100.jpg"}],"unique_index":"779ydpl8xrllo70jdoo","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"arguments[0].src = arguments[0].src.replaceAll(\"0100_0100\",\"max\")","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":4,"contentType":0,"relative":false,"name":"img2","desc":"","extractType":0,"relativeXPath":"/html/body/div[1]/main[1]/div[2]/div[1]/div[1]/div[2]/div[2]/div[1]/div[2]/img[1]","allXPaths":["/html/body/div[1]/main[1]/div[2]/div[1]/div[1]/div[2]/div[2]/div[1]/div[2]/img[1]","//img[contains(., '')]","//IMG[@class='ProductGallery__Thumb__Image']","/html/body/div[last()-4]/main/div/div[last()-5]/div[last()-1]/div/div/div[last()-1]/div[last()-3]/img"],"exampleValues":[{"num":0,"value":"https://img.fruugo.com/product/6/21/862838216_0100_0100.jpg"}],"unique_index":"1ohzg5xw6slo70jrdy","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"arguments[0].src = arguments[0].src.replaceAll(\"0100_0100\",\"max\")","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":4,"contentType":0,"relative":false,"name":"img3","desc":"","extractType":0,"relativeXPath":"/html/body/div[1]/main[1]/div[2]/div[1]/div[1]/div[2]/div[2]/div[1]/div[3]/img[1]","allXPaths":["/html/body/div[1]/main[1]/div[2]/div[1]/div[1]/div[2]/div[2]/div[1]/div[3]/img[1]","//img[contains(., '')]","//IMG[@class='ProductGallery__Thumb__Image']","/html/body/div[last()-4]/main/div/div[last()-5]/div[last()-1]/div/div/div[last()-1]/div[last()-2]/img"],"exampleValues":[{"num":0,"value":"https://img.fruugo.com/product/3/22/862838223_0100_0100.jpg"}],"unique_index":"8nin5pm7pmwlo70jw9y","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"arguments[0].src = arguments[0].src.replaceAll(\"0100_0100\",\"max\")","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":4,"contentType":0,"relative":false,"name":"img4","desc":"","extractType":0,"relativeXPath":"/html/body/div[1]/main[1]/div[2]/div[1]/div[1]/div[2]/div[2]/div[1]/div[4]/img[1]","allXPaths":["/html/body/div[1]/main[1]/div[2]/div[1]/div[1]/div[2]/div[2]/div[1]/div[4]/img[1]","//img[contains(., '')]","//IMG[@class='ProductGallery__Thumb__Image']","/html/body/div[last()-4]/main/div/div[last()-5]/div[last()-1]/div/div/div[last()-1]/div[last()-1]/img"],"exampleValues":[{"num":0,"value":"https://img.fruugo.com/product/2/25/862838252_0100_0100.jpg"}],"unique_index":"8l3cmabco1vlo70jyou","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"arguments[0].src = arguments[0].src.replaceAll(\"0100_0100\",\"max\")","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":4,"contentType":0,"relative":false,"name":"img5","desc":"","extractType":0,"relativeXPath":"/html/body/div[1]/main[1]/div[2]/div[1]/div[1]/div[2]/div[2]/div[1]/div[5]/img[1]","allXPaths":["/html/body/div[1]/main[1]/div[2]/div[1]/div[1]/div[2]/div[2]/div[1]/div[5]/img[1]","//img[contains(., '')]","//IMG[@class='ProductGallery__Thumb__Image']","/html/body/div[last()-4]/main/div/div[last()-5]/div[last()-1]/div/div/div[last()-1]/div/img"],"exampleValues":[{"num":0,"value":"https://img.fruugo.com/product/3/26/862838263_0100_0100.jpg"}],"unique_index":"g9tlehym6nlo70k0sm","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"arguments[0].src = arguments[0].src.replaceAll(\"0100_0100\",\"max\")","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":0,"relative":false,"name":"description","desc":"","extractType":0,"relativeXPath":"/html/body/div[1]/main[1]/div[2]/div[2]/div[1]/div[1]/div[1]","allXPaths":["/html/body/div[1]/main[1]/div[2]/div[2]/div[1]/div[1]/div[1]","//div[contains(., 'Descriptio')]","//DIV[@class='a11y-text-width js-product-description Product__Description-text text-break']","/html/body/div[last()-4]/main/div/div[last()-4]/div[last()-1]/div[last()-1]/div"],"exampleValues":[{"num":0,"value":"Description \nMade of high quality material, durable to useReplacing your filter regularly will also improve the cleaning performance and suction of your vacuum cleanerEasy to remove and replace as part of routine maintenance, highly match with the equipmentNice spare parts to maintain and upgrade your vacuum cleanerModel Number: for JV85 JV85 PROType: Vacuum Cleaner Partscolour:White+greyMaterial:plasticPackage Contents:4 x ComponentOnly the above package content, other products are not included.Note: Light reflection and different displays may cause the color of the item in the picture a little different from the real thing. The measurement allowed error is +/- 1-3cm. \n"}],"unique_index":"yq3ig3h4jyolo70lvwu","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"if (\n  arguments[0] &&\n  arguments[0] === document.querySelector('#description .text-break')\n) {\n  arguments[0].innerText = arguments[0].innerText.replaceAll('\\n', '<br/>')\n\n}\n","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":0,"contentType":9,"relative":false,"name":"catalog","desc":"","extractType":0,"relativeXPath":"/html/body/div[1]/main[1]/div[2]/div[1]/div[1]/nav[1]","allXPaths":["/html/body/div[1]/main[1]/div[2]/div[1]/div[1]/nav[1]","//nav[contains(., '')]","//NAV[@class='breadcrumb-container d-none d-lg-flex']","/html/body/div[last()-4]/main/div/div[last()-5]/div[last()-1]/nav"],"exampleValues":[{"num":0,"value":"\n <ol class=\"breadcrumb\" style=\"box-shadow: none;\">\n <li class=\"breadcrumb-item\" style=\"box-shadow: none;\">\n <a href=\"/home-garden/a-536\" style=\"box-shadow: none;\">Home &amp; Garden</a>\n </li>\n <li class=\"breadcrumb-item\" style=\"box-shadow: none;\">\n <a href=\"/household-appliance-accessories/a-3348\" style=\"box-shadow: none;\">Household Appliance Accessories</a>\n </li>\n <li class=\"breadcrumb-item\" style=\"box-shadow: none;\">\n <a href=\"/vacuum-accessories/a-618\" style=\"box-shadow: none;\">Vacuum Accessories</a>\n </li>\n </ol>\n"}],"unique_index":"6rzxlmkv6hdlo70neh4","iframe":false,"default":"null","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"return arguments[0].innerText.trim().replaceAll(/\\\\n\\\\s*\\\\n\\\\s*/g, ' > ')\n","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}]}}]}
Loading

0 comments on commit 025ebaf

Please sign in to comment.