mirror of
https://github.com/NaiboWang/EasySpider.git
synced 2025-04-19 18:59:52 +08:00
1 line
35 KiB
JSON
1 line
35 KiB
JSON
{"id":90,"name":"发现报告 - 专业研报平台丨收录海量行业报告、券商研报丨免费分享行业研报","url":"https://www.fxbaogao.com/rp?order=2&nop=-1","create_time":"2023/10/7 12:05:38","update_time":"10/11/2023, 4:56:34 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.fxbaogao.com/rp?order=2&nop=-1","inputParameters":[{"id":0,"name":"inputText_0","nodeName":"输入文字","nodeId":34,"desc":"要输入的文本,如京东搜索框输入:电脑","type":"text","exampleValue":"13672457702","value":"13672457702"},{"id":1,"name":"inputText_1","nodeName":"输入文字","nodeId":35,"desc":"要输入的文本,如京东搜索框输入:电脑","type":"text","exampleValue":"Admin123456","value":"Admin123456"},{"id":2,"name":"inputText_2","nodeName":"输入文字","nodeId":39,"desc":"要输入的文本,如京东搜索框输入:电脑","type":"text","exampleValue":"家纺产业 政策","value":"家纺产业 政策"},{"id":3,"name":"urlList_3","nodeId":49,"nodeName":"打开网页","value":"https://www.fxbaogao.com/rp?order=2&nop=-1","desc":"要采集的网址列表,多行以\\n分开","type":"text","exampleValue":"https://www.fxbaogao.com/rp?order=2&nop=-1"}],"outputParameters":[{"id":0,"name":"自定义操作","desc":"自定义操作返回的数据","type":"text","recordASField":0,"exampleValue":""}],"graph":[{"index":0,"id":0,"parentId":0,"type":-1,"option":0,"title":"root","sequence":[49,48,32,33,34,35,36,37,38,39,40,41,42],"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":6,"parameters":{"useLoop":false,"xpath":"","wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"url":"https://www.fxbaogao.com/rp?order=2&nop=-1","links":"https://www.fxbaogao.com/rp?order=2&nop=-1","maxWaitTime":10,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"cookies":""}},{"id":-1,"index":2,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":6,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"_3vN_BJejVB1L1krOXOTWHC\")]/img[1]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"//*[contains(@class, \"_3vN_BJejVB1L1krOXOTWHC\")]/img[1]","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/button[1]/img[1]","//img[contains(., '')]","/html/body/div/div/div/div/div[last()-1]/div/div/button/img"]}},{"id":-1,"index":3,"parentId":0,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":false,"position":7,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"//*[@id=\"mobile\"]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"13672457702","index":0,"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/form[1]/div[2]/div[1]/div[1]/div[1]/input[1]","//input[contains(., '')]","id(\"mobile\")","//INPUT[@class='ant-input']","/html/body/div/div/div/div/div[last()-1]/div/div/form/div[last()-3]/div/div/div/input"]}},{"id":-1,"index":4,"parentId":0,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":false,"position":8,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"//*[@id=\"password\"]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"Admin123456","index":0,"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/form[1]/div[3]/div[1]/div[1]/div[1]/span[1]/input[1]","//input[contains(., '')]","id(\"password\")","//INPUT[@class='ant-input']","/html/body/div/div/div/div/div[last()-1]/div/div/form/div[last()-2]/div/div/div/span/input"]}},{"id":-1,"index":5,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":9,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"ant-form\")]/button[1]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":1,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/form[1]/button[1]","//button[contains(., '登 录')]","//BUTTON[@class='ant-btn']","/html/body/div/div/div/div/div[last()-1]/div/div/form/button"]}},{"id":-1,"index":6,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":5,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"/","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/div[2]/span[1]/svg[1]","//svg[contains(., '')]","//svg[@class='[object SVGAnimatedString]']","/html/body/div/div/div/div/div[last()-1]/div/div/div[last()-1]/span/svg"]}},{"id":-1,"index":7,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":13,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"_3p00b2k-pJwSOe4tsnYu38\")]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":1,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/div[2]","//div[contains(., '')]","//DIV[@class='_3p00b2k-pJwSOe4tsnYu38']","/html/body/div/div/div/div/div[last()-1]/div/div/div[last()-1]"]}},{"id":-1,"index":8,"parentId":0,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":false,"position":16,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"//*[@id=\"search-input\"]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"家纺产业 政策","index":0,"allXPaths":["/html/body/div[1]/section[1]/main[1]/div[1]/div[1]/div[1]/div[2]/div[1]/span[1]/input[1]","//input[contains(., '')]","id(\"search-input\")","//INPUT[@class='ant-input ant-input-lg']","/html/body/div[last()-5]/section/main/div[last()-1]/div/div/div/div/span/input"]}},{"id":-1,"index":9,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":11,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"ant-btn-primary\")]/span[1]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":1,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[1]/section[1]/main[1]/div[1]/div[1]/div[1]/div[2]/div[1]/span[1]/span[1]/button[1]/span[1]","//span[contains(., '发现一下')]","/html/body/div[last()-5]/section/main/div[last()-1]/div/div/div/div/span/span/button/span"]}},{"id":-1,"index":10,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":12,"parameters":{"history":5,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"_2hCo-UCopezJ6Feuy1fklb\")]/div[2]/div[2]/div[1]/div[3]/button[1]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":1,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[1]/section[1]/main[1]/div[2]/div[2]/div[2]/div[2]/div[1]/div[3]/button[1]","//button[contains(., '已购买')]","//BUTTON[@class='ant-btn ant-btn-round flex-c round _1mItGXlbrVR5Ok2NBlfhKc Ul14Y1RBg4HOFbOuo7Jug']","/html/body/div[last()-8]/section/main/div/div/div/div[last()-22]/div/div/button"]}},{"id":-1,"index":11,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":12,"parameters":{"history":5,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"_1DbXFqtZ2hpD0p9pm5jouO\")]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":1,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[7]/div[1]/div[2]/div[1]/div[2]/div[1]/div[3]/button[2]","//button[contains(., '中文PDF格式下载')]","//BUTTON[@class='link flex-cc _1DbXFqtZ2hpD0p9pm5jouO']","/html/body/div/div/div/div/div[last()-1]/div/div/button"]}},{"id":-1,"index":12,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":9,"parameters":{"history":5,"tabIndex":-1,"useLoop":false,"xpath":"/","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[7]/div[1]/div[2]/div[1]/div[2]/button[1]/span[1]/span[1]/svg[1]","//svg[contains(., '')]","//svg[@class='[object SVGAnimatedString]']","/html/body/div[last()-1]/div/div/div/div[last()-1]/button/span/span/svg"]}},{"id":-1,"index":13,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":15,"parameters":{"history":5,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"ant-modal-close-x\")]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":1,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[7]/div[1]/div[2]/div[1]/div[2]/button[1]/span[1]","//span[contains(., '')]","//SPAN[@class='ant-modal-close-x']","/html/body/div[last()-1]/div/div/div/div[last()-1]/button/span"]}},{"id":-1,"index":14,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":13,"parameters":{"history":5,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"_1dzmhpDFphzk1p4S8JLxH2\")]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[1]/section[1]/header[1]/div[1]/div[1]/a[1]/span[1]","//span[contains(., '中午好, 用户457')]","//SPAN[@class='text-ellipsis _1dzmhpDFphzk1p4S8JLxH2']","/html/body/div[last()-9]/section/header/div/div[last()-2]/a[last()-1]/span[last()-1]"]}},{"id":-1,"index":15,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":5,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"guide-modal-footer-prev-btn\")]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[4]/div[3]/div[1]/button[1]","//button[contains(., '以后再说')]","//BUTTON[@class='guide-modal-footer-btn guide-modal-footer-prev-btn']","/html/body/div/div/div/button[last()-1]"]}},{"id":-1,"index":16,"parentId":0,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":false,"position":13,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[@id=\"mobile\"]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"13672457702","index":0,"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/form[1]/div[2]/div[1]/div[1]/div[1]/input[1]","//input[contains(., '')]","id(\"mobile\")","//INPUT[@class='ant-input']","/html/body/div/div/div/div/div[last()-1]/div/div/form/div[last()-3]/div/div/div/input"]}},{"id":-1,"index":17,"parentId":0,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":false,"position":13,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[@id=\"password\"]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"Admin123456","index":0,"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/form[1]/div[3]/div[1]/div[1]/div[1]/span[1]/input[1]","//input[contains(., '')]","id(\"password\")","//INPUT[@class='ant-input']","/html/body/div/div/div/div/div[last()-1]/div/div/form/div[last()-2]/div/div/div/span/input"]}},{"id":-1,"index":18,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":6,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"/","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/button[1]/span[1]/span[1]/svg[1]","//svg[contains(., '')]","//svg[@class='[object SVGAnimatedString]']","/html/body/div/div/div/div/div[last()-1]/button/span/span/svg"]}},{"id":-1,"index":19,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":10,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"ant-modal-close\")]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":1,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/button[1]","//button[contains(., '')]","//BUTTON[@class='ant-modal-close']","/html/body/div/div/div/div/div[last()-1]/button"]}},{"id":-1,"index":20,"parentId":0,"type":1,"option":8,"title":"循环","sequence":[21,22,23,24,25],"isInLoop":false,"position":13,"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,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":0,"pathList":"","textList":"","code":"","waitTime":0,"exitCount":0,"historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0}},{"id":-1,"index":21,"parentId":14,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"guide-modal-footer-prev-btn\")]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[4]/div[3]/div[1]/button[1]","//button[contains(., '以后再说')]","//BUTTON[@class='guide-modal-footer-btn guide-modal-footer-prev-btn']","/html/body/div/div/div/button[last()-1]"]}},{"id":-1,"index":22,"parentId":14,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[@id=\"mobile\"]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"13672457702","index":0,"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/form[1]/div[2]/div[1]/div[1]/div[1]/input[1]","//input[contains(., '')]","id(\"mobile\")","//INPUT[@class='ant-input']","/html/body/div/div/div/div/div[last()-1]/div/div/form/div[last()-3]/div/div/div/input"]}},{"id":-1,"index":23,"parentId":14,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":true,"position":2,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[@id=\"password\"]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"Admin123456","index":0,"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/form[1]/div[3]/div[1]/div[1]/div[1]/span[1]/input[1]","//input[contains(., '')]","id(\"password\")","//INPUT[@class='ant-input']","/html/body/div/div/div/div/div[last()-1]/div/div/form/div[last()-2]/div/div/div/span/input"]}},{"id":-1,"index":24,"parentId":14,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":3,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"_3p00b2k-pJwSOe4tsnYu38\")]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/div[2]","//div[contains(., '')]","//DIV[@class='_3p00b2k-pJwSOe4tsnYu38']","/html/body/div/div/div/div/div[last()-1]/div/div/div[last()-1]"]}},{"id":-1,"index":25,"parentId":14,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":true,"position":4,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"ant-modal-close\")]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/button[1]","//button[contains(., '')]","//BUTTON[@class='ant-modal-close']","/html/body/div/div/div/div/div[last()-1]/button"]}},{"id":-1,"index":26,"parentId":0,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":false,"position":13,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[@id=\"mobile\"]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"13672457702","index":0,"allXPaths":["/html/body/div[4]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/form[1]/div[2]/div[1]/div[1]/div[1]/input[1]","//input[contains(., '')]","id(\"mobile\")","//INPUT[@class='ant-input']","/html/body/div/div/div/div/div[last()-1]/div/div/form/div[last()-3]/div/div/div/input"]}},{"id":-1,"index":27,"parentId":0,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":false,"position":13,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[@id=\"password\"]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"Admin123456","index":0,"allXPaths":["/html/body/div[4]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/form[1]/div[3]/div[1]/div[1]/div[1]/span[1]/input[1]","//input[contains(., '')]","id(\"password\")","//INPUT[@class='ant-input']","/html/body/div/div/div/div/div[last()-1]/div/div/form/div[last()-2]/div/div/div/span/input"]}},{"id":-1,"index":28,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":0,"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,"clear":0,"codeMode":"5","code":"self.browser.command_executor._commands[\"send_command\"] = (\"POST\", '/session/$sessionId/chromium/send_command')","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":-1,"index":29,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":0,"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,"clear":0,"codeMode":"5","code":"self.paramss = {'cmd': 'Page.setDownloadBehavior', 'params': {'behavior': 'allow', 'downloadPath': \"E:\\\\test\"}}","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":-1,"index":30,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":0,"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,"clear":0,"codeMode":"5","code":"self.browser.execute(\"send_command\", self.paramss)","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":-1,"index":31,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":0,"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,"clear":0,"codeMode":"5","code":"print('=======测试信息=========')\nprint('=======123123123=========')\nprint('=======4564564564=========')","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":3,"index":32,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":2,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"guide-modal-footer-prev-btn\")]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[4]/div[3]/div[1]/button[1]","//button[contains(., '以后再说')]","//BUTTON[@class='guide-modal-footer-btn guide-modal-footer-prev-btn']","/html/body/div/div/div/button[last()-1]"]}},{"id":4,"index":33,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":3,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"_3vN_BJejVB1L1krOXOTWHC\")]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/button[1]","//button[contains(., '手机号码登录')]","//BUTTON[@class='_3vN_BJejVB1L1krOXOTWHC']","/html/body/div/div/div/div/div[last()-1]/div/div/button"]}},{"id":5,"index":34,"parentId":0,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":false,"position":4,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[@id=\"mobile\"]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"13672457702","index":0,"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/form[1]/div[2]/div[1]/div[1]/div[1]/input[1]","//input[contains(., '')]","id(\"mobile\")","//INPUT[@class='ant-input']","/html/body/div/div/div/div/div[last()-1]/div/div/form/div[last()-3]/div/div/div/input"]}},{"id":6,"index":35,"parentId":0,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":false,"position":5,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[@id=\"password\"]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"Admin123456","index":0,"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/form[1]/div[3]/div[1]/div[1]/div[1]/span[1]/input[1]","//input[contains(., '')]","id(\"password\")","//INPUT[@class='ant-input']","/html/body/div/div/div/div/div[last()-1]/div/div/form/div[last()-2]/div/div/div/span/input"]}},{"id":7,"index":36,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":6,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"ant-form\")]/button[1]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/form[1]/button[1]","//button[contains(., '登 录')]","//BUTTON[@class='ant-btn']","/html/body/div/div/div/div/div[last()-1]/div/div/form/button"]}},{"id":8,"index":37,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":7,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"_3p00b2k-pJwSOe4tsnYu38\")]/span[1]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/div[2]/span[1]","//span[contains(., '')]","//SPAN[@class='anticon anticon-close-circle']","/html/body/div/div/div/div/div[last()-1]/div/div/div[last()-1]/span"]}},{"id":9,"index":38,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":8,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"ant-modal-close\")]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[3]/div[1]/div[2]/div[1]/div[2]/button[1]","//button[contains(., '')]","//BUTTON[@class='ant-modal-close']","/html/body/div/div/div/div/div[last()-1]/button"]}},{"id":10,"index":39,"parentId":0,"type":0,"option":4,"title":"输入文字","sequence":[],"isInLoop":false,"position":9,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[@id=\"search-input\"]","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"value":"家纺产业 政策","index":0,"allXPaths":["/html/body/div[1]/section[1]/main[1]/div[1]/div[1]/div[1]/div[2]/div[1]/span[1]/input[1]","//input[contains(., '')]","id(\"search-input\")","//INPUT[@class='ant-input ant-input-lg']","/html/body/div[last()-6]/section/main/div[last()-1]/div/div/div/div/span/input"]}},{"id":11,"index":40,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":10,"parameters":{"history":3,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"ant-btn-primary\")]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[1]/section[1]/main[1]/div[1]/div[1]/div[1]/div[2]/div[1]/span[1]/span[1]/button[1]","//button[contains(., '发现一下')]","//BUTTON[@class='ant-btn ant-btn-primary _1zvDFXpdJSNnggIpuROq5A _2Lpg_roqsYJAL9Ni32qic2']","/html/body/div[last()-6]/section/main/div[last()-1]/div/div/div/div/span/span/button"]}},{"id":12,"index":41,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":11,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"_2hCo-UCopezJ6Feuy1fklb\")]/div[2]/div[2]/div[1]/div[3]/button[1]","iframe":false,"wait":2,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[1]/section[1]/main[1]/div[2]/div[2]/div[2]/div[2]/div[1]/div[3]/button[1]","//button[contains(., '已购买')]","//BUTTON[@class='ant-btn ant-btn-round flex-c round _1mItGXlbrVR5Ok2NBlfhKc Ul14Y1RBg4HOFbOuo7Jug']","/html/body/div[last()-5]/section/main/div/div/div/div[last()-22]/div/div/button"]}},{"id":13,"index":42,"parentId":0,"type":0,"option":2,"title":"点击元素","sequence":[],"isInLoop":false,"position":12,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"//*[contains(@class, \"_1DbXFqtZ2hpD0p9pm5jouO\")]","iframe":false,"wait":10,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"waitElement":"","waitElementTime":10,"waitElementIframeIndex":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"clickWay":0,"maxWaitTime":10,"paras":[],"allXPaths":["/html/body/div[4]/div[1]/div[2]/div[1]/div[2]/div[1]/div[3]/button[2]","//button[contains(., '中文PDF格式下载')]","//BUTTON[@class='link flex-cc _1DbXFqtZ2hpD0p9pm5jouO']","/html/body/div/div/div/div/div[last()-1]/div/div/button"]}},{"id":-1,"index":43,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":16,"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,"clear":0,"codeMode":0,"code":"","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":-1,"index":44,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":4,"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,"clear":0,"codeMode":"5","code":"self.browser.maximize_window()","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":-1,"index":45,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":14,"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,"clear":0,"codeMode":0,"code":"","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":-1,"index":46,"parentId":0,"type":0,"option":3,"title":"提取数据","sequence":[],"isInLoop":false,"position":18,"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,"clear":0,"paras":[{"nodeType":0,"contentType":7,"relative":false,"name":"自定义参数_1","desc":"","extractType":0,"relativeXPath":"//body","recordASField":1,"allXPaths":[],"exampleValues":[{"num":0,"value":"自定义值"}],"default":"","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0,"paraType":"text"}]}},{"id":-1,"index":47,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":0,"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,"clear":0,"codeMode":"5","code":"from selenium.webdriver import ChromeOptions,Chrome\nSavePath=\"F://\"\nprint_settings = {\n \"recentDestinations\": [{\n \"id\": \"Save as PDF\",\n \"origin\": \"local\",\n \"account\": \"\",\n }],\n \"selectedDestinationId\": \"Save as PDF\",\n \"version\": 2,\n \"isHeaderFooterEnabled\": False,\n \"isLandscapeEnabled\": True\n}\n\noptions = ChromeOptions()\noption.binary_location = os.path.join(os.getcwd(), \"EasySpider/resources/app/chrome_win64/chrome.exe\")\noptions.add_argument(\"--start-maximized\")\noptions.add_argument('--window-size=1920,1080')\n# options.add_argument(f\"user-data-dir={user_data_path}\")\noptions.add_argument(\"--headless\")\noptions.add_argument('--enable-print-browser')\noptions.add_experimental_option(\"prefs\", {\n \"printing.print_preview_sticky_settings.appState\": json.dumps(print_settings),\n \"savefile.default_directory\": SavePath, # Change default directory for downloads\n \"download.default_directory\": SavePath, # Change default directory for downloads\n \"download.prompt_for_download\": False, # To auto download the file\n \"download.directory_upgrade\": True,\n \"profile.default_content_setting_values.automatic_downloads\": 1,\n \"safebrowsing.enabled\": True\n})\noptions.add_argument(\"--kiosk-printing\")\nself.browser = Chrome( options=options,executable_path=os.path.join(os.getcwd(), \"EasySpider/resources/app/chrome_win64/chromedriver_win64.exe\"))","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":2,"index":48,"parentId":0,"type":0,"option":5,"title":"自定义操作","sequence":[],"isInLoop":false,"position":1,"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,"clear":0,"codeMode":"5","code":"self.browser.get(https://www.fxbaogao.com/rp?order=2&nop=-1)","waitTime":0,"recordASField":0,"paraType":"text"}},{"id":1,"index":49,"parentId":0,"type":0,"option":1,"title":"打开网页","sequence":[],"isInLoop":false,"position":0,"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,"url":"about:blank","links":"https://www.fxbaogao.com/rp?order=2&nop=-1","maxWaitTime":10,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"cookies":""}}]} |