From 7580e74fa4d8137f10f0592b050c828dd19fee55 Mon Sep 17 00:00:00 2001 From: gitea Date: Mon, 1 Jan 2001 00:00:00 +0000 Subject: [PATCH] Update My workflow 5.json --- My workflow 5.json | 154 +++++++++++++++++++-------------------------- 1 file changed, 63 insertions(+), 91 deletions(-) diff --git a/My workflow 5.json b/My workflow 5.json index a239207..260f77c 100644 --- a/My workflow 5.json +++ b/My workflow 5.json @@ -1,105 +1,79 @@ { - "updatedAt": "2025-11-30T10:35:51.000Z", - "createdAt": "2025-11-21T10:47:00.974Z", - "id": "gfx8s7OTuVkoPgLf", + "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": { - "httpMethod": "POST", - "path": "n8n-test", - "options": {} - }, - "type": "n8n-nodes-base.webhook", - "typeVersion": 2.1, + "parameters": {}, + "type": "n8n-nodes-base.manualTrigger", + "typeVersion": 1, "position": [ - 0, - 0 + -160, + -16 ], - "id": "498b640c-6216-4d85-aa14-6734e41a3c5f", - "name": "Webhook", - "webhookId": "e47b8cb1-fba5-403d-8a9b-f64cd949ec77" + "id": "5fcb4cbf-0c2e-4073-9ce6-dca8ea35fd8d", + "name": "When clicking ‘Execute workflow’" }, { "parameters": { - "schema": { - "__rl": true, - "value": "public", - "mode": "list", - "cachedResultName": "public" - }, - "table": { - "__rl": true, - "value": "worktime", - "mode": "list", - "cachedResultName": "worktime" - }, - "columns": { - "mappingMode": "defineBelow", - "value": { - "Bezeichnung": "Test" - }, - "matchingColumns": [], - "schema": [ - { - "id": "ID", - "displayName": "ID", - "required": false, - "defaultMatch": false, - "display": true, - "type": "number", - "canBeUsedToMatch": true, - "removed": true - }, - { - "id": "Bezeichnung", - "displayName": "Bezeichnung", - "required": false, - "defaultMatch": false, - "display": true, - "type": "string", - "canBeUsedToMatch": true - }, - { - "id": "created_ts", - "displayName": "created_ts", - "required": false, - "defaultMatch": false, - "display": true, - "type": "time", - "canBeUsedToMatch": true, - "removed": true - } - ], - "attemptToConvertTypes": false, - "convertFieldsToString": false - }, - "options": {} - }, - "type": "n8n-nodes-base.postgres", - "typeVersion": 2.6, - "position": [ - 208, - 0 - ], - "id": "a43aa28a-e161-4867-9035-6231b6c7d57c", - "name": "Insert rows in a table", - "credentials": { - "postgres": { - "id": "KfuCkzCoRyZId8cM", - "name": "Postgress-Test" + "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": { - "Webhook": { + "When clicking ‘Execute workflow’": { "main": [ [ { - "node": "Insert rows in a table", + "node": "Puppeteer", + "type": "main", + "index": 0 + }, + { + "node": "Puppeteer1", "type": "main", "index": 0 } @@ -111,18 +85,16 @@ "executionOrder": "v1" }, "staticData": null, - "meta": { - "templateCredsSetupCompleted": true - }, + "meta": null, "pinData": {}, - "versionId": "6319e77d-f4b4-4954-91b9-979db7a9f99d", + "versionId": "9fbb077f-2265-4cde-98ca-4c3cb8a04417", "triggerCount": 0, "shared": [ { - "updatedAt": "2025-11-21T10:47:00.977Z", - "createdAt": "2025-11-21T10:47:00.977Z", + "updatedAt": "2025-12-21T10:05:25.714Z", + "createdAt": "2025-12-21T10:05:25.714Z", "role": "workflow:owner", - "workflowId": "gfx8s7OTuVkoPgLf", + "workflowId": "p9NRvFWXzYlsb7QT", "projectId": "S4tmpzSj6JlGFOze" } ],