2023-12-11 04:53:02 +08:00

890 lines
25 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"id": 221,
"name": "不固定元素列表测试:【软科排名】-中国最好学科排名|最权威的大学学科|高校学科排名",
"url": "https://www.shanghairanking.cn/rankings/bcsr/2023",
"links": "https://www.shanghairanking.cn/rankings/bcsr/2023",
"create_time": "12/5/2023, 4:12:11 AM",
"update_time": "12/10/2023, 5:56:54 AM",
"version": "0.6.0",
"saveThreshold": 10,
"quitWaitTime": 60,
"environment": 0,
"maximizeWindow": 0,
"maxViewLength": 15,
"recordLog": 1,
"outputFormat": "xlsx",
"saveName": "current_time",
"inputExcel": "",
"startFromExit": 0,
"pauseKey": "p",
"containJudge": false,
"desc": "https://www.shanghairanking.cn/rankings/bcsr/2023",
"inputParameters": [
{
"id": 0,
"name": "urlList_0",
"nodeId": 1,
"nodeName": "打开网页",
"value": "https://www.shanghairanking.cn/rankings/bcsr/2023",
"desc": "要采集的网址列表,多行以\\n分开",
"type": "text",
"exampleValue": "https://www.shanghairanking.cn/rankings/bcsr/2023"
},
{
"id": 1,
"name": "loopTimes_循环点击单个元素_1",
"nodeId": 6,
"nodeName": "循环点击单个元素",
"desc": "循环循环点击单个元素执行的次数0代表无限循环",
"type": "int",
"exampleValue": 0,
"value": 0
}
],
"outputParameters": [
{
"id": 0,
"name": "参数1_文本",
"desc": "",
"type": "text",
"recordASField": 1,
"exampleValue": "1"
},
{
"id": 1,
"name": "参数2_文本",
"desc": "",
"type": "text",
"recordASField": 1,
"exampleValue": "1"
},
{
"id": 2,
"name": "参数3_文本",
"desc": "",
"type": "text",
"recordASField": 1,
"exampleValue": "前3%"
},
{
"id": 3,
"name": "参数4_图片地址",
"desc": "",
"type": "text",
"recordASField": 1,
"exampleValue": "https://www.shanghairanking.cn/_uni/logo/28312850.png"
},
{
"id": 4,
"name": "参数5_链接文本",
"desc": "",
"type": "text",
"recordASField": 1,
"exampleValue": "复旦大学\n "
},
{
"id": 5,
"name": "参数6_链接地址",
"desc": "",
"type": "text",
"recordASField": 1,
"exampleValue": "/institution/fudan-university"
},
{
"id": 6,
"name": "参数7_图片地址",
"desc": "",
"type": "text",
"recordASField": 1,
"exampleValue": "/_nuxt/img/uncollection.388fe56.svg"
},
{
"id": 7,
"name": "参数8_链接文本",
"desc": "",
"type": "text",
"recordASField": 1,
"exampleValue": "\n "
},
{
"id": 8,
"name": "参数9_链接地址",
"desc": "",
"type": "text",
"recordASField": 1,
"exampleValue": "/institution/fudan-university"
},
{
"id": 9,
"name": "参数10_文本",
"desc": "",
"type": "text",
"recordASField": 1,
"exampleValue": "1044"
},
{
"id": 10,
"name": "发送邮件123",
"desc": "自定义操作返回的数据",
"type": "text",
"recordASField": 0,
"exampleValue": ""
}
],
"graph": [
{
"index": 0,
"id": 0,
"parentId": 0,
"type": -1,
"option": 0,
"title": "root",
"sequence": [1, 8, 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.shanghairanking.cn/rankings/bcsr/2023",
"links": "https://www.shanghairanking.cn/rankings/bcsr/2023",
"maxWaitTime": 10,
"scrollType": 0,
"scrollCount": 1,
"scrollWaitTime": 1,
"cookies": ""
}
},
{
"id": 3,
"index": 2,
"parentId": 0,
"type": 1,
"option": 8,
"title": "循环点击每个元素",
"sequence": [3, 6],
"isInLoop": false,
"position": 2,
"parameters": {
"history": 4,
"tabIndex": -1,
"useLoop": false,
"xpath": "/html/body/div[1]/div[1]/div[1]/div[2]/div[2]/div[1]/div/div[2]/div/a[1]/span[2]",
"iframe": false,
"wait": 0,
"waitType": 0,
"beforeJS": "",
"beforeJSWaitTime": 0,
"afterJS": "",
"afterJSWaitTime": 0,
"waitElement": "",
"waitElementTime": 10,
"waitElementIframeIndex": 0,
"scrollType": 0,
"scrollCount": 1,
"scrollWaitTime": 1,
"loopType": 1,
"pathList": "",
"textList": "",
"code": "",
"waitTime": 0,
"exitCount": 0,
"historyWait": 2,
"breakMode": 0,
"breakCode": "",
"breakCodeWaitTime": 0,
"allXPaths": ""
}
},
{
"id": 4,
"index": 3,
"parentId": 3,
"type": 0,
"option": 2,
"title": "点击元素",
"sequence": [],
"isInLoop": true,
"position": 0,
"parameters": {
"history": 4,
"tabIndex": -1,
"useLoop": true,
"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": [],
"alertHandleType": 0,
"allXPaths": "",
"loopType": 1,
"codeMode": -1
}
},
{
"id": 6,
"index": 4,
"parentId": 5,
"type": 1,
"option": 8,
"title": "循环采集数据",
"sequence": [5],
"isInLoop": true,
"position": 0,
"parameters": {
"history": 5,
"tabIndex": -1,
"useLoop": false,
"xpath": "/html/body/div[1]/div[1]/div[1]/div[2]/div[1]/div[3]/div[2]/div[1]/div[1]/div[2]/table[1]/tbody[1]/tr",
"iframe": false,
"wait": 0,
"waitType": 0,
"beforeJS": "",
"beforeJSWaitTime": 0,
"afterJS": "",
"afterJSWaitTime": 0,
"waitElement": "",
"waitElementTime": 10,
"waitElementIframeIndex": 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[1]/div[1]/div[1]/div[2]/div[1]/div[3]/div[2]/div[1]/div[1]/div[2]/table[1]/tbody[1]/tr[1]",
"//tr[contains(., '')]",
"/html/body/div[last()-3]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]"
]
}
},
{
"id": 8,
"index": 5,
"parentId": 6,
"type": 0,
"option": 3,
"title": "提取数据",
"sequence": [],
"isInLoop": true,
"position": 0,
"parameters": {
"history": 5,
"tabIndex": -1,
"useLoop": false,
"xpath": "",
"iframe": false,
"wait": 0,
"waitType": 0,
"beforeJS": "",
"beforeJSWaitTime": 0,
"afterJS": "",
"afterJSWaitTime": 0,
"waitElement": "",
"waitElementTime": 10,
"waitElementIframeIndex": 0,
"clear": 0,
"newLine": 1,
"paras": [
{
"nodeType": 0,
"contentType": 1,
"relative": true,
"name": "参数1_文本",
"desc": "",
"relativeXPath": "/td[1]/div[1]",
"allXPaths": [
"/td[1]/div[1]",
"//div[contains(., '')]",
"//DIV[@class='ranking']",
"/html/body/div[last()-3]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-4]/div"
],
"exampleValues": [{ "num": 0, "value": "1" }],
"unique_index": "/td[1]/div[1]",
"iframe": false,
"default": "",
"paraType": "text",
"recordASField": 1,
"beforeJS": "",
"beforeJSWaitTime": 0,
"JS": "",
"JSWaitTime": 0,
"afterJS": "",
"afterJSWaitTime": 0,
"downloadPic": 0
},
{
"nodeType": 0,
"contentType": 1,
"relative": true,
"name": "参数2_文本",
"desc": "",
"relativeXPath": "/td[2]/span[1]",
"allXPaths": [
"/td[2]/span[1]",
"//span[contains(., '1')]",
"/html/body/div[last()-3]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-3]/span"
],
"exampleValues": [{ "num": 0, "value": "1" }],
"unique_index": "/td[2]/span[1]",
"iframe": false,
"default": "",
"paraType": "text",
"recordASField": 1,
"beforeJS": "",
"beforeJSWaitTime": 0,
"JS": "",
"JSWaitTime": 0,
"afterJS": "",
"afterJSWaitTime": 0,
"downloadPic": 0
},
{
"nodeType": 0,
"contentType": 1,
"relative": true,
"name": "参数3_文本",
"desc": "",
"relativeXPath": "/td[3]",
"allXPaths": [
"/td[3]",
"//td[contains(., '')]",
"/html/body/div[last()-3]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-2]"
],
"exampleValues": [{ "num": 0, "value": "前3%" }],
"unique_index": "/td[3]",
"iframe": false,
"default": "",
"paraType": "text",
"recordASField": 1,
"beforeJS": "",
"beforeJSWaitTime": 0,
"JS": "",
"JSWaitTime": 0,
"afterJS": "",
"afterJSWaitTime": 0,
"downloadPic": 0
},
{
"nodeType": 4,
"contentType": 1,
"relative": true,
"name": "参数4_图片地址",
"desc": "",
"relativeXPath": "/td[4]/div[1]/div[1]/img[1]",
"allXPaths": [
"/td[4]/div[1]/div[1]/img[1]",
"//img[contains(., '')]",
"//IMG[@class='univ-logo']",
"//IMG[@alt='复旦大学']",
"/html/body/div[last()-3]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div[last()-1]/img"
],
"exampleValues": [
{
"num": 0,
"value": "https://www.shanghairanking.cn/_uni/logo/28312850.png"
}
],
"unique_index": "/td[4]/div[1]/div[1]/img[1]",
"iframe": false,
"default": "",
"paraType": "text",
"recordASField": 1,
"beforeJS": "",
"beforeJSWaitTime": 0,
"JS": "",
"JSWaitTime": 0,
"afterJS": "",
"afterJSWaitTime": 0,
"downloadPic": 0
},
{
"nodeType": 1,
"contentType": 0,
"relative": true,
"name": "参数5_链接文本",
"desc": "",
"relativeXPath": "/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]",
"allXPaths": [
"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]",
"//a[contains(., '复旦大学')]",
"//A[@class='name-cn']",
"/html/body/div[last()-3]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div[last()-1]/div/div/a"
],
"exampleValues": [{ "num": 0, "value": "复旦大学\n " }],
"unique_index": "/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]",
"iframe": false,
"default": "",
"paraType": "text",
"recordASField": 1,
"beforeJS": "",
"beforeJSWaitTime": 0,
"JS": "",
"JSWaitTime": 0,
"afterJS": "",
"afterJSWaitTime": 0,
"downloadPic": 0
},
{
"nodeType": 2,
"contentType": 0,
"relative": true,
"name": "参数6_链接地址",
"desc": "",
"relativeXPath": "/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]",
"allXPaths": [
"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]",
"//a[contains(., '复旦大学')]",
"//A[@class='name-cn']",
"/html/body/div[last()-3]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div[last()-1]/div/div/a"
],
"exampleValues": [
{ "num": 0, "value": "/institution/fudan-university" }
],
"unique_index": "/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/a[1]",
"iframe": false,
"default": "",
"paraType": "text",
"recordASField": 1,
"beforeJS": "",
"beforeJSWaitTime": 0,
"JS": "",
"JSWaitTime": 0,
"afterJS": "",
"afterJSWaitTime": 0,
"downloadPic": 0
},
{
"nodeType": 4,
"contentType": 1,
"relative": true,
"name": "参数7_图片地址",
"desc": "",
"relativeXPath": "/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/img[1]",
"allXPaths": [
"/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/img[1]",
"//img[contains(., '')]",
"/html/body/div[last()-3]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div[last()-1]/div/div/div/img"
],
"exampleValues": [
{ "num": 0, "value": "/_nuxt/img/uncollection.388fe56.svg" }
],
"unique_index": "/td[4]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/img[1]",
"iframe": false,
"default": "",
"paraType": "text",
"recordASField": 1,
"beforeJS": "",
"beforeJSWaitTime": 0,
"JS": "",
"JSWaitTime": 0,
"afterJS": "",
"afterJSWaitTime": 0,
"downloadPic": 0
},
{
"nodeType": 1,
"contentType": 0,
"relative": true,
"name": "参数8_链接文本",
"desc": "",
"relativeXPath": "/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]",
"allXPaths": [
"/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]",
"//a[contains(., '')]",
"//A[@class='name-en']",
"/html/body/div[last()-3]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div/div/div/a"
],
"exampleValues": [{ "num": 0, "value": "\n " }],
"unique_index": "/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]",
"iframe": false,
"default": "",
"paraType": "text",
"recordASField": 1,
"beforeJS": "",
"beforeJSWaitTime": 0,
"JS": "",
"JSWaitTime": 0,
"afterJS": "",
"afterJSWaitTime": 0,
"downloadPic": 0
},
{
"nodeType": 2,
"contentType": 0,
"relative": true,
"name": "参数9_链接地址",
"desc": "",
"relativeXPath": "/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]",
"allXPaths": [
"/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]",
"//a[contains(., '')]",
"//A[@class='name-en']",
"/html/body/div[last()-3]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td[last()-1]/div/div/div/div/div/a"
],
"exampleValues": [
{ "num": 0, "value": "/institution/fudan-university" }
],
"unique_index": "/td[4]/div[1]/div[2]/div[2]/div[1]/div[1]/a[1]",
"iframe": false,
"default": "",
"paraType": "text",
"recordASField": 1,
"beforeJS": "",
"beforeJSWaitTime": 0,
"JS": "",
"JSWaitTime": 0,
"afterJS": "",
"afterJSWaitTime": 0,
"downloadPic": 0
},
{
"nodeType": 0,
"contentType": 1,
"relative": true,
"name": "参数10_文本",
"desc": "",
"relativeXPath": "/td[5]",
"allXPaths": [
"/td[5]",
"//td[contains(., '')]",
"/html/body/div[last()-3]/div/div/div[last()-1]/div/div/div/div[last()-1]/div/div[last()-1]/table/tbody/tr[last()-29]/td"
],
"exampleValues": [{ "num": 0, "value": "1044" }],
"unique_index": "/td[5]",
"iframe": false,
"default": "",
"paraType": "text",
"recordASField": 1,
"beforeJS": "",
"beforeJSWaitTime": 0,
"JS": "",
"JSWaitTime": 0,
"afterJS": "",
"afterJSWaitTime": 0,
"downloadPic": 0
}
]
}
},
{
"id": 5,
"index": 6,
"parentId": 3,
"type": 1,
"option": 8,
"title": "循环点击单个元素",
"sequence": [4, 7],
"isInLoop": true,
"position": 1,
"parameters": {
"history": 5,
"tabIndex": -1,
"useLoop": false,
"xpath": "//*[contains(@class, \"ant-pagination-next\")]/a[1]",
"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,
"allXPaths": [
"/html/body/div[1]/div[1]/div[1]/div[2]/div[1]/div[3]/div[2]/div[1]/div[1]/ul[1]/li[5]/a[1]",
"//a[contains(., '')]",
"//A[@class='ant-pagination-item-link']",
"/html/body/div[last()-3]/div/div/div[last()-2]/div/div/div/div[last()-1]/div/ul/li[last()-1]/a"
],
"codeMode": -1
}
},
{
"id": 7,
"index": 7,
"parentId": 5,
"type": 0,
"option": 2,
"title": "点击元素",
"sequence": [],
"isInLoop": true,
"position": 1,
"parameters": {
"history": 5,
"tabIndex": -1,
"useLoop": true,
"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": [],
"alertHandleType": 0,
"allXPaths": [
"/html/body/div[1]/div[1]/div[1]/div[2]/div[1]/div[3]/div[2]/div[1]/div[1]/ul[1]/li[5]/a[1]",
"//a[contains(., '')]",
"//A[@class='ant-pagination-item-link']",
"/html/body/div[last()-3]/div/div/div[last()-2]/div/div/div/div[last()-1]/div/ul/li[last()-1]/a"
],
"loopType": 0
}
},
{
"id": 2,
"index": 8,
"parentId": 0,
"type": 0,
"option": 5,
"title": "发送邮件123",
"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,
"newLine": 1,
"codeMode": "9",
"code": "",
"waitTime": 0,
"recordASField": 0,
"paraType": "text",
"emailConfig": {
"host": "smtp.163.co23m",
"port": "465",
"username": "test@163.com",
"password": "asdf",
"from": "",
"to": "test@163.com",
"subject": "123",
"content": "434"
}
}
},
{
"id": -1,
"index": 9,
"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,
"newLine": 1,
"codeMode": "7",
"code": "",
"waitTime": 0,
"recordASField": 0,
"paraType": "text",
"emailConfig": {
"host": "",
"port": 465,
"username": "",
"password": "",
"from": "",
"to": "",
"subject": "",
"content": ""
}
}
},
{
"id": -1,
"index": 10,
"parentId": 0,
"type": 0,
"option": 5,
"title": "执行JavaScript",
"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,
"newLine": 1,
"codeMode": "0",
"code": "",
"waitTime": 0,
"recordASField": 0,
"paraType": "text",
"emailConfig": {
"host": "",
"port": 465,
"username": "",
"password": "",
"from": "",
"to": "",
"subject": "",
"content": ""
}
}
},
{
"id": -1,
"index": 11,
"parentId": 0,
"type": 0,
"option": 5,
"title": "暂停程序dfgs",
"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,
"newLine": 1,
"codeMode": "7",
"code": "",
"waitTime": 0,
"recordASField": 0,
"paraType": "text",
"emailConfig": {
"host": "",
"port": 465,
"username": "",
"password": "",
"from": "",
"to": "",
"subject": "",
"content": ""
}
}
}
]
}