mirror of
https://github.com/NaiboWang/EasySpider.git
synced 2025-04-19 16:59:50 +08:00
1 line
5.8 KiB
JSON
1 line
5.8 KiB
JSON
{"id":1,"name":"EBAY","url":"https://www.ebay.com","links":"https://www.ebay.com","create_time":"7/8/2023, 7:41:07 AM","update_time":"7/8/2023, 7:41:07 AM","version":"0.3.5","saveThreshold":10,"cloudflare":0,"environment":0,"maxViewLength":15,"outputFormat":"xlsx","saveName":"current_time","containJudge":true,"desc":"https://www.ebay.com","inputParameters":[{"id":0,"name":"urlList_0","nodeId":1,"nodeName":"Open Page","value":"https://www.ebay.com","desc":"List of URLs to be collected, separated by \\n for multiple lines","type":"text","exampleValue":"https://www.ebay.com"},{"id":1,"name":"urlList_1","nodeId":3,"nodeName":"Open Page","value":"https://ebay.com?id=Field[\"para1_linktext\"]","desc":"List of URLs to be collected, separated by \\n for multiple lines","type":"text","exampleValue":"https://ebay.com?id=Field[\"para1_linktext\"]"}],"outputParameters":[{"id":0,"name":"para1_linktext","desc":"","type":"text","recordASField":1,"exampleValue":"Score these trending kicks"},{"id":1,"name":"para1_text","desc":"","type":"text","recordASField":1,"exampleValue":"Home"},{"id":2,"name":"Exit Loop","desc":"Output of custom action","type":"text","recordASField":0,"exampleValue":""}],"graph":[{"index":0,"id":0,"parentId":0,"type":-1,"option":0,"title":"root","sequence":[1,2,3,4],"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","wait":0,"waitType":0},"isInLoop":false},{"id":1,"index":1,"parentId":0,"type":0,"option":1,"title":"Open Page","sequence":[],"isInLoop":false,"position":0,"parameters":{"useLoop":false,"xpath":"","wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"url":"https://www.ebay.com","links":"https://www.ebay.com","maxWaitTime":10,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"cookies":""}},{"id":2,"index":2,"parentId":0,"type":0,"option":3,"title":"Collect Data","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,"paras":[{"nodeType":1,"contentType":0,"relative":false,"name":"para1_linktext","desc":"","extractType":0,"relativeXPath":"/html/body/div[6]/div[3]/div[1]/div[1]/div[1]/h2[1]/a[1]","allXPaths":["/html/body/div[6]/div[3]/div[1]/div[1]/div[1]/h2[1]/a[1]","//a[contains(., 'Score thes')]","/html/body/div[last()-10]/div[last()-4]/div/div/div[last()-1]/h2/a"],"exampleValues":[{"num":0,"value":"Score these trending kicks"}],"unique_index":"0em1vatjz5vnljt7w6f7","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}]}},{"id":3,"index":3,"parentId":0,"type":0,"option":1,"title":"Open Page","sequence":[],"isInLoop":false,"position":2,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"url":"about:blank","links":"https://ebay.com?id=Field[\"para1_linktext\"]","maxWaitTime":10,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"cookies":""}},{"id":4,"index":4,"parentId":0,"type":1,"option":8,"title":"Loop","sequence":[6,5],"isInLoop":false,"position":3,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"/html/body/div[6]/div[1]/ul[1]/li","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":1,"pathList":"","textList":"","code":"","waitTime":0,"exitCount":0,"historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":["/html/body/div[6]/div[1]/ul[1]/li[1]","//li[contains(., 'Home')]","//LI[@class='vl-flyout-nav__active']","/html/body/div[last()-10]/div[last()-6]/ul/li[last()-13]"]}},{"id":6,"index":5,"parentId":4,"type":0,"option":3,"title":"Collect Data","sequence":[],"isInLoop":true,"position":1,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"paras":[{"nodeType":0,"contentType":0,"relative":true,"name":"para1_text","desc":"","extractType":0,"relativeXPath":"","allXPaths":"","exampleValues":[{"num":0,"value":"Home"}],"unique_index":"x6qhjfubbbljt7x736","iframe":false,"default":"","paraType":"text","recordASField":1,"beforeJS":"arguments[0].innerText += \"Field[\"para1_linktext\"]\"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}],"loopType":1}},{"id":5,"index":6,"parentId":4,"type":2,"option":9,"title":"If Condition","sequence":[7],"isInLoop":true,"position":0,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0}},{"id":7,"parentId":5,"index":7,"type":3,"option":10,"title":"Condition","sequence":[9],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"class":"3","value":"biles","code":"","waitTime":0},"position":0},{"id":-1,"parentId":5,"index":8,"type":3,"option":10,"title":"Condition","sequence":[],"isInLoop":true,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"class":0,"value":"","code":"","waitTime":0},"position":1},{"id":8,"index":9,"parentId":7,"type":0,"option":5,"title":"Exit Loop","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"codeMode":"3","code":"","waitTime":0,"recordASField":0,"paraType":"text"}}]} |