1 line
4.0 KiB
JSON
1 line
4.0 KiB
JSON
{"createdAt":"2024-07-07T15:26:53.461Z","updatedAt":"2024-07-07T15:50:59.911Z","id":"iGw2rg9kxx5SmGQw","name":"Scrap web site copy - sub","active":false,"nodes":[{"parameters":{"url":"={{ $json.URL }}","options":{}},"id":"9584e149-033a-4f6b-8122-30ee6f5405ca","name":"HTTP Request","type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"position":[-720,-160]},{"parameters":{"operation":"extractHtmlContent","sourceData":"binary","extractionValues":{"values":[{"key":"data","cssSelector":"body","returnValue":"html"}]},"options":{"cleanUpText":false}},"id":"3a504df0-ada0-4d7f-b75a-a246f0c1f381","name":"HTML","type":"n8n-nodes-base.html","typeVersion":1.2,"position":[-440,-160]},{"parameters":{"operation":"toJson","options":{}},"id":"99dfa97b-db80-46a6-aa04-7758fe35183b","name":"Convert to File","type":"n8n-nodes-base.convertToFile","typeVersion":1.1,"position":[-580,-160]},{"parameters":{"operation":"extractHtmlContent","extractionValues":{"values":[{"key":"key","cssSelector":"p","returnArray":true}]},"options":{}},"id":"8542f76a-4bf4-4a1b-b137-fdb3fc929d82","name":"HTML1","type":"n8n-nodes-base.html","typeVersion":1.2,"position":[-280,40]},{"parameters":{"operation":"extractHtmlContent","extractionValues":{"values":[{"key":"key","cssSelector":"a","returnValue":"attribute","attribute":"href","returnArray":true}]},"options":{"cleanUpText":false}},"id":"08fe30eb-ea27-49c1-8ce1-a3a2100c360c","name":"HTML2","type":"n8n-nodes-base.html","typeVersion":1.2,"position":[-280,-160]},{"parameters":{"fieldToSplitOut":"key","options":{}},"id":"eeb61f65-43e6-4718-b05d-ebfea297c5bb","name":"Split Out","type":"n8n-nodes-base.splitOut","typeVersion":1,"position":[-140,-160]},{"parameters":{"options":{}},"id":"ca7ad3a0-8795-40fb-89e9-da65fd2bf0ca","name":"Loop Over Items","type":"n8n-nodes-base.splitInBatches","typeVersion":3,"position":[180,-160]},{"parameters":{},"id":"6b0b7d4e-e543-4927-99f8-5a4a9b0799b8","name":"Merge","type":"n8n-nodes-base.merge","typeVersion":2.1,"position":[20,-160]},{"parameters":{"assignments":{"assignments":[{"id":"516f8fd8-cd1c-4cd1-aae6-fc5e1725f33a","name":"key","value":"=/ {{ $json.URL }}","type":"string"}]},"options":{}},"id":"a8d4f11f-8e2e-4794-861c-3ce01f0c6ffd","name":"Edit Fields","type":"n8n-nodes-base.set","typeVersion":3.3,"position":[-140,-340]},{"parameters":{},"id":"98499ab0-b15d-408a-878a-00084d91aff5","name":"Execute Workflow Trigger","type":"n8n-nodes-base.executeWorkflowTrigger","typeVersion":1,"position":[-880,-160]},{"parameters":{"operation":"extractHtmlContent","dataPropertyName":"key","extractionValues":{"values":[{"key":"key","cssSelector":":root","returnArray":true}]},"options":{}},"id":"81f838a1-2457-4947-93e5-881b9c553cd6","name":"HTML3","type":"n8n-nodes-base.html","typeVersion":1.2,"position":[-140,40]},{"parameters":{"operation":"update","docId":"pfyRAyDpaei1RyyPQYUqLV","tableId":"Scrapping","fieldsToSend":{"properties":[{"fieldId":"Contenu"}]}},"id":"4ce68267-83e4-4aec-8a25-0cb88fd8fea2","name":"Grist","type":"n8n-nodes-base.grist","typeVersion":1,"position":[20,40],"credentials":{"gristApi":{"id":"FP4qhcxgUb7jbXcL","name":"Grist account"}}}],"connections":{"HTTP Request":{"main":[[{"node":"Convert to File","type":"main","index":0}]]},"HTML":{"main":[[{"node":"HTML2","type":"main","index":0},{"node":"HTML1","type":"main","index":0}]]},"Convert to File":{"main":[[{"node":"HTML","type":"main","index":0}]]},"HTML2":{"main":[[{"node":"Split Out","type":"main","index":0}]]},"Split Out":{"main":[[{"node":"Merge","type":"main","index":1}]]},"Edit Fields":{"main":[[{"node":"Merge","type":"main","index":0}]]},"Merge":{"main":[[{"node":"Loop Over Items","type":"main","index":0}]]},"Execute Workflow Trigger":{"main":[[{"node":"HTTP Request","type":"main","index":0},{"node":"Edit Fields","type":"main","index":0}]]},"HTML1":{"main":[[{"node":"HTML3","type":"main","index":0}]]},"HTML3":{"main":[[{"node":"Grist","type":"main","index":0}]]}},"settings":{"executionOrder":"v1"},"staticData":null,"meta":{"templateCredsSetupCompleted":true},"pinData":{},"versionId":"fdc14938-9bcf-47d9-a097-a07ffd536f67","triggerCount":0,"tags":[]} |