2022-07-21 21:00:28 +00:00
|
|
|
{
|
2022-10-27 21:01:19 +00:00
|
|
|
"createdAt": "2022-07-21T13:08:40.854Z",
|
|
|
|
|
"updatedAt": "2022-07-21T16:38:37.657Z",
|
2022-07-21 21:00:28 +00:00
|
|
|
"id": 57,
|
|
|
|
|
"name": "playstation",
|
|
|
|
|
"active": false,
|
|
|
|
|
"nodes": [
|
|
|
|
|
{
|
|
|
|
|
"parameters": {},
|
|
|
|
|
"name": "Start",
|
|
|
|
|
"type": "n8n-nodes-base.start",
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
"position": [
|
|
|
|
|
-800,
|
|
|
|
|
320
|
2022-08-03 21:00:21 +00:00
|
|
|
],
|
|
|
|
|
"id": "82b271e3-1225-413f-850d-5fff3c09c191"
|
2022-07-21 21:00:28 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"docId": "4jpTtZN5vfAkkj9aMvb2iV",
|
|
|
|
|
"tableId": "Cusa",
|
|
|
|
|
"additionalOptions": {}
|
|
|
|
|
},
|
|
|
|
|
"name": "Grist",
|
|
|
|
|
"type": "n8n-nodes-base.grist",
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
"position": [
|
|
|
|
|
-600,
|
|
|
|
|
320
|
|
|
|
|
],
|
|
|
|
|
"credentials": {
|
|
|
|
|
"gristApi": {
|
|
|
|
|
"id": "21",
|
|
|
|
|
"name": "Grist account"
|
|
|
|
|
}
|
2022-08-03 21:00:21 +00:00
|
|
|
},
|
|
|
|
|
"id": "b16c7215-1dcd-48f1-8783-a96bea59a134"
|
2022-07-21 21:00:28 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"values": {
|
|
|
|
|
"string": [
|
|
|
|
|
{
|
|
|
|
|
"name": "url",
|
|
|
|
|
"value": "=https://serialstation.com/titles/CUSA/{{$json[\"cusa\"]}}"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"options": {}
|
|
|
|
|
},
|
|
|
|
|
"name": "Set",
|
|
|
|
|
"type": "n8n-nodes-base.set",
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
"position": [
|
|
|
|
|
-380,
|
|
|
|
|
320
|
2022-08-03 21:00:21 +00:00
|
|
|
],
|
|
|
|
|
"id": "9585539c-4eee-4743-b5a5-723bf016db2a"
|
2022-07-21 21:00:28 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"url": "={{$json[\"url\"]}}",
|
|
|
|
|
"responseFormat": "string",
|
|
|
|
|
"options": {}
|
|
|
|
|
},
|
|
|
|
|
"name": "HTTP Request",
|
|
|
|
|
"type": "n8n-nodes-base.httpRequest",
|
|
|
|
|
"typeVersion": 2,
|
|
|
|
|
"position": [
|
|
|
|
|
-160,
|
|
|
|
|
320
|
2022-08-03 21:00:21 +00:00
|
|
|
],
|
|
|
|
|
"id": "b0539484-2224-4450-adfd-52e6f31505d9"
|
2022-07-21 21:00:28 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"extractionValues": {
|
|
|
|
|
"values": [
|
|
|
|
|
{
|
|
|
|
|
"key": "name",
|
|
|
|
|
"cssSelector": "h1"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "image",
|
|
|
|
|
"cssSelector": "img.img-fluid",
|
|
|
|
|
"returnValue": "attribute",
|
|
|
|
|
"attribute": "src"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"options": {}
|
|
|
|
|
},
|
|
|
|
|
"name": "HTML Extract",
|
|
|
|
|
"type": "n8n-nodes-base.htmlExtract",
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
"position": [
|
|
|
|
|
60,
|
|
|
|
|
320
|
2022-08-03 21:00:21 +00:00
|
|
|
],
|
|
|
|
|
"id": "146001bc-63ba-4949-b400-948a7e48472f"
|
2022-07-21 21:00:28 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"operation": "update",
|
|
|
|
|
"docId": "4jpTtZN5vfAkkj9aMvb2iV",
|
|
|
|
|
"tableId": "Disks",
|
|
|
|
|
"rowId": "={{$node[\"Set\"].json[\"id\"]}}",
|
|
|
|
|
"fieldsToSend": {
|
|
|
|
|
"properties": [
|
|
|
|
|
{
|
|
|
|
|
"fieldId": "image",
|
|
|
|
|
"fieldValue": "=data {{$binary.data.mimeType}}"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"name": "Grist1",
|
|
|
|
|
"type": "n8n-nodes-base.grist",
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
"position": [
|
|
|
|
|
740,
|
|
|
|
|
540
|
|
|
|
|
],
|
|
|
|
|
"credentials": {
|
|
|
|
|
"gristApi": {
|
|
|
|
|
"id": "21",
|
|
|
|
|
"name": "Grist account"
|
|
|
|
|
}
|
2022-08-03 21:00:21 +00:00
|
|
|
},
|
|
|
|
|
"id": "3e01c7c6-6571-4273-aa5f-7391a32e1501"
|
2022-07-21 21:00:28 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"url": "={{$json[\"image\"]}}",
|
|
|
|
|
"responseFormat": "file",
|
|
|
|
|
"options": {}
|
|
|
|
|
},
|
|
|
|
|
"name": "HTTP Request1",
|
|
|
|
|
"type": "n8n-nodes-base.httpRequest",
|
|
|
|
|
"typeVersion": 2,
|
|
|
|
|
"position": [
|
|
|
|
|
500,
|
|
|
|
|
540
|
2022-08-03 21:00:21 +00:00
|
|
|
],
|
|
|
|
|
"id": "6352a737-b4b2-46fd-b1dd-cbe671b5e0c9"
|
2022-07-21 21:00:28 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"conditions": {
|
|
|
|
|
"string": [
|
|
|
|
|
{
|
|
|
|
|
"value1": "={{$json[\"image\"]}}",
|
|
|
|
|
"operation": "isNotEmpty"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"name": "IF",
|
|
|
|
|
"type": "n8n-nodes-base.if",
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
"position": [
|
|
|
|
|
260,
|
|
|
|
|
560
|
2022-08-03 21:00:21 +00:00
|
|
|
],
|
|
|
|
|
"id": "cee99068-165e-4323-8901-559c9854fe59"
|
2022-07-21 21:00:28 +00:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"connections": {
|
|
|
|
|
"Start": {
|
|
|
|
|
"main": [
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"node": "Grist",
|
|
|
|
|
"type": "main",
|
|
|
|
|
"index": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"Grist": {
|
|
|
|
|
"main": [
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"node": "Set",
|
|
|
|
|
"type": "main",
|
|
|
|
|
"index": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"Set": {
|
|
|
|
|
"main": [
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"node": "HTTP Request",
|
|
|
|
|
"type": "main",
|
|
|
|
|
"index": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"HTTP Request": {
|
|
|
|
|
"main": [
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"node": "HTML Extract",
|
|
|
|
|
"type": "main",
|
|
|
|
|
"index": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"HTML Extract": {
|
|
|
|
|
"main": [
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"node": "IF",
|
|
|
|
|
"type": "main",
|
|
|
|
|
"index": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"Grist1": {
|
|
|
|
|
"main": [
|
|
|
|
|
[]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"HTTP Request1": {
|
|
|
|
|
"main": [
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"node": "Grist1",
|
|
|
|
|
"type": "main",
|
|
|
|
|
"index": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"IF": {
|
|
|
|
|
"main": [
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"node": "HTTP Request1",
|
|
|
|
|
"type": "main",
|
|
|
|
|
"index": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"settings": {},
|
|
|
|
|
"staticData": null,
|
2022-12-07 22:01:07 +00:00
|
|
|
"dataLoaded": false,
|
2022-07-21 21:00:28 +00:00
|
|
|
"pinData": {},
|
2022-12-07 22:01:07 +00:00
|
|
|
"versionId": "ce1cdb88-6634-43ba-ad3d-2bd8ac96d675",
|
2022-07-21 21:00:28 +00:00
|
|
|
"tags": [
|
|
|
|
|
{
|
|
|
|
|
"createdAt": "2022-05-19T09:37:15.931Z",
|
2022-10-27 21:01:19 +00:00
|
|
|
"updatedAt": "2022-05-19T09:37:15.931Z",
|
|
|
|
|
"id": "2",
|
|
|
|
|
"name": "my"
|
2022-07-21 21:00:28 +00:00
|
|
|
}
|
2022-12-07 22:01:07 +00:00
|
|
|
]
|
2022-07-21 21:00:28 +00:00
|
|
|
}
|