Add real_debrid_magnet_link_webhook.json
This commit is contained in:
350
real_debrid_magnet_link_webhook.json
Normal file
350
real_debrid_magnet_link_webhook.json
Normal file
@@ -0,0 +1,350 @@
|
||||
{
|
||||
"updatedAt": "2025-12-21T11:39:14.000Z",
|
||||
"createdAt": "2025-12-21T10:38:45.552Z",
|
||||
"id": "mGYz1PXCnw2Dth0m",
|
||||
"name": "real_debrid_magnet_link_webhook",
|
||||
"active": true,
|
||||
"isArchived": false,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"method": "POST",
|
||||
"url": "=https://api.real-debrid.com/rest/1.0/torrents/selectFiles/{{$json.id }}",
|
||||
"authentication": "genericCredentialType",
|
||||
"genericAuthType": "httpBearerAuth",
|
||||
"sendBody": true,
|
||||
"contentType": "multipart-form-data",
|
||||
"bodyParameters": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "files",
|
||||
"value": "all"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {
|
||||
"response": {
|
||||
"response": {
|
||||
"neverError": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 4.3,
|
||||
"position": [
|
||||
416,
|
||||
0
|
||||
],
|
||||
"id": "3a35f7a8-491f-48d0-98a4-7d9c2b9d21a8",
|
||||
"name": "HTTP Request1",
|
||||
"credentials": {
|
||||
"httpBearerAuth": {
|
||||
"id": "pWaGmpBI5m2mHs3e",
|
||||
"name": "Real Debrid API Token"
|
||||
},
|
||||
"httpHeaderAuth": {
|
||||
"id": "lCpY1cj9aMgR9DZZ",
|
||||
"name": "real debrid api token"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "afd8825c-ba50-43c7-8f38-282f445d31d0",
|
||||
"authentication": "headerAuth",
|
||||
"options": {}
|
||||
},
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 2.1,
|
||||
"position": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"id": "6df0ca11-11cd-4d0e-b7e5-38f0fecac3ee",
|
||||
"name": "Webhook",
|
||||
"webhookId": "afd8825c-ba50-43c7-8f38-282f445d31d0",
|
||||
"credentials": {
|
||||
"httpHeaderAuth": {
|
||||
"id": "H5VEd3k9JFobk8fw",
|
||||
"name": "real debrid auth header"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"url": "={{ $('addMagnet').item.json.uri }}",
|
||||
"authentication": "genericCredentialType",
|
||||
"genericAuthType": "httpBearerAuth",
|
||||
"options": {
|
||||
"response": {
|
||||
"response": {
|
||||
"neverError": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 4.3,
|
||||
"position": [
|
||||
848,
|
||||
0
|
||||
],
|
||||
"id": "1bb7773c-e15a-49f9-8580-ba31bd9862cb",
|
||||
"name": "HTTP Request2",
|
||||
"credentials": {
|
||||
"httpBearerAuth": {
|
||||
"id": "pWaGmpBI5m2mHs3e",
|
||||
"name": "Real Debrid API Token"
|
||||
},
|
||||
"httpHeaderAuth": {
|
||||
"id": "lCpY1cj9aMgR9DZZ",
|
||||
"name": "real debrid api token"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chatId": "=302560724",
|
||||
"text": "=Fertig: {{ $json.filename }}",
|
||||
"additionalFields": {
|
||||
"appendAttribution": false,
|
||||
"disable_web_page_preview": false,
|
||||
"parse_mode": "HTML"
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"typeVersion": 1.2,
|
||||
"position": [
|
||||
1296,
|
||||
-16
|
||||
],
|
||||
"id": "4455f656-44c0-42ce-bc0a-894a42b2fb18",
|
||||
"name": "Send a text message",
|
||||
"webhookId": "6bb12551-6d47-40b7-8ffc-594e66295b8f",
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "jGxFCFCy4GyzHcVQ",
|
||||
"name": "Uptime-Kuma"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"amount": 1,
|
||||
"unit": "minutes"
|
||||
},
|
||||
"type": "n8n-nodes-base.wait",
|
||||
"typeVersion": 1.1,
|
||||
"position": [
|
||||
688,
|
||||
0
|
||||
],
|
||||
"id": "3d8e6360-bc5c-4180-ad1a-65b08232cec2",
|
||||
"name": "Wait",
|
||||
"webhookId": "14fd77c5-948a-44e0-af21-4a970847735e"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"method": "POST",
|
||||
"url": "https://api.real-debrid.com/rest/1.0/torrents/addMagnet",
|
||||
"authentication": "genericCredentialType",
|
||||
"genericAuthType": "httpBearerAuth",
|
||||
"sendBody": true,
|
||||
"contentType": "multipart-form-data",
|
||||
"bodyParameters": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "magnet",
|
||||
"value": "={{ $json.body.url }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 4.3,
|
||||
"position": [
|
||||
208,
|
||||
0
|
||||
],
|
||||
"id": "1ecd386f-c6a5-4e0b-a298-eec51ddf5c33",
|
||||
"name": "addMagnet",
|
||||
"credentials": {
|
||||
"httpBearerAuth": {
|
||||
"id": "pWaGmpBI5m2mHs3e",
|
||||
"name": "Real Debrid API Token"
|
||||
},
|
||||
"httpHeaderAuth": {
|
||||
"id": "lCpY1cj9aMgR9DZZ",
|
||||
"name": "real debrid api token"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"options": {
|
||||
"caseSensitive": true,
|
||||
"leftValue": "",
|
||||
"typeValidation": "strict",
|
||||
"version": 2
|
||||
},
|
||||
"conditions": [
|
||||
{
|
||||
"id": "384c02e3-3bea-4a51-8d64-27644f33b801",
|
||||
"leftValue": "={{ $json.progress }}",
|
||||
"rightValue": 100,
|
||||
"operator": {
|
||||
"type": "number",
|
||||
"operation": "equals"
|
||||
}
|
||||
}
|
||||
],
|
||||
"combinator": "and"
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 2.2,
|
||||
"position": [
|
||||
1056,
|
||||
0
|
||||
],
|
||||
"id": "24d04178-376a-4c57-b1a5-92704668c80e",
|
||||
"name": "If"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chatId": "=288081595",
|
||||
"text": "=Fertig: {{ $json.filename }}",
|
||||
"additionalFields": {
|
||||
"appendAttribution": false,
|
||||
"disable_web_page_preview": false,
|
||||
"parse_mode": "HTML"
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"typeVersion": 1.2,
|
||||
"position": [
|
||||
1296,
|
||||
144
|
||||
],
|
||||
"id": "73f8e4f2-222b-439d-8d9b-5dd30ecbfb72",
|
||||
"name": "Send a text message1",
|
||||
"webhookId": "6bb12551-6d47-40b7-8ffc-594e66295b8f",
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "jGxFCFCy4GyzHcVQ",
|
||||
"name": "Uptime-Kuma"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Webhook": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "addMagnet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "If",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Wait": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"addMagnet": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Send a text message": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"If": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Send a text message",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Send a text message1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "Wait",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Wait",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"staticData": null,
|
||||
"meta": {
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"pinData": {},
|
||||
"versionId": "9032bc10-15d9-4c3e-b220-69ae488b0f19",
|
||||
"triggerCount": 1,
|
||||
"shared": [
|
||||
{
|
||||
"updatedAt": "2025-12-21T10:38:45.559Z",
|
||||
"createdAt": "2025-12-21T10:38:45.559Z",
|
||||
"role": "workflow:owner",
|
||||
"workflowId": "mGYz1PXCnw2Dth0m",
|
||||
"projectId": "S4tmpzSj6JlGFOze"
|
||||
}
|
||||
],
|
||||
"tags": []
|
||||
}
|
||||
Reference in New Issue
Block a user