102 lines
3.4 KiB
JSON
102 lines
3.4 KiB
JSON
{
|
||
"updatedAt": "2025-12-21T10:31:15.000Z",
|
||
"createdAt": "2025-12-21T10:05:25.712Z",
|
||
"id": "p9NRvFWXzYlsb7QT",
|
||
"name": "My workflow 5",
|
||
"active": false,
|
||
"isArchived": false,
|
||
"nodes": [
|
||
{
|
||
"parameters": {},
|
||
"type": "n8n-nodes-base.manualTrigger",
|
||
"typeVersion": 1,
|
||
"position": [
|
||
-160,
|
||
-16
|
||
],
|
||
"id": "5fcb4cbf-0c2e-4073-9ce6-dca8ea35fd8d",
|
||
"name": "When clicking ‘Execute workflow’"
|
||
},
|
||
{
|
||
"parameters": {
|
||
"operation": "runCustomScript",
|
||
"scriptCode": "// Navigate to an IP lookup service\nawait $page.goto('https://www.1tamilmv.kiwi/index.php?%2Ftopmembers%2F=');\n\n//const link_container = '.ipsWidget_inner';\nconst link_container = '.ipsWidget_inner';\n\n\nconst movies = await $page.evaluate((link_container) => {\n const outer_container = document.querySelector(link_container);\n const inner_container = outer_container.querySelectorAll('strong').innerText;\n return inner_container\n }, link_container);\n\n\n\n// Return the result in the required format\nreturn [{ movies }];",
|
||
"options": {
|
||
"launchArguments": {
|
||
"args": [
|
||
{
|
||
"arg": "--no-sandbox"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"type": "CUSTOM.puppeteer",
|
||
"typeVersion": 1,
|
||
"position": [
|
||
48,
|
||
-16
|
||
],
|
||
"id": "d1f67292-bc64-4ed3-a952-f5a43a02ec31",
|
||
"name": "Puppeteer"
|
||
},
|
||
{
|
||
"parameters": {
|
||
"url": "https://www.1tamilmv.kiwi/index.php?%2Ftopmembers%2F=",
|
||
"options": {
|
||
"launchArguments": {
|
||
"args": [
|
||
{
|
||
"arg": "--no-sandbox"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"type": "CUSTOM.puppeteer",
|
||
"typeVersion": 1,
|
||
"position": [
|
||
64,
|
||
144
|
||
],
|
||
"id": "b361dd59-8b0e-43c5-8f2d-eb99fe4afb49",
|
||
"name": "Puppeteer1"
|
||
}
|
||
],
|
||
"connections": {
|
||
"When clicking ‘Execute workflow’": {
|
||
"main": [
|
||
[
|
||
{
|
||
"node": "Puppeteer",
|
||
"type": "main",
|
||
"index": 0
|
||
},
|
||
{
|
||
"node": "Puppeteer1",
|
||
"type": "main",
|
||
"index": 0
|
||
}
|
||
]
|
||
]
|
||
}
|
||
},
|
||
"settings": {
|
||
"executionOrder": "v1"
|
||
},
|
||
"staticData": null,
|
||
"meta": null,
|
||
"pinData": {},
|
||
"versionId": "9fbb077f-2265-4cde-98ca-4c3cb8a04417",
|
||
"triggerCount": 0,
|
||
"shared": [
|
||
{
|
||
"updatedAt": "2025-12-21T10:05:25.714Z",
|
||
"createdAt": "2025-12-21T10:05:25.714Z",
|
||
"role": "workflow:owner",
|
||
"workflowId": "p9NRvFWXzYlsb7QT",
|
||
"projectId": "S4tmpzSj6JlGFOze"
|
||
}
|
||
],
|
||
"tags": []
|
||
} |