8
n8n 中文网amn8n.com

自动化 TikTok 视频下载机器人(无水印)使用 n8n 和 Telegram

中级

这是一个Miscellaneous, Multimodal AI领域的自动化工作流,包含 11 个节点。主要使用 Set, Wait, Telegram, HttpRequest, TelegramTrigger 等节点。 使用n8n和Telegram的自动化TikTok视频下载机器人(无水印)

前置要求
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "3Y28CoiyE2JRjpP4",
  "meta": {
    "instanceId": "5f1d044fa23a5710e3ad8c8ced8193dff576e0e1920d0390510f41e9622a2d1c",
    "templateCredsSetupCompleted": true
  },
  "name": "自动化 TikTok 视频下载机器人(无水印)使用 n8n 和 Telegram",
  "tags": [],
  "nodes": [
    {
      "id": "3c8c688e-a94c-42c6-9a16-cfe98344ac3a",
      "name": "Telegram 触发器",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -280,
        1020
      ],
      "webhookId": "a8cd8cc1-ce39-4adb-a389-cbca39849471",
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "k6DiziTlVMaosjh6",
          "name": "Hades Ai Text To Image"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "4e58c131-fc67-4589-af78-188b78986868",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -420,
        960
      ],
      "parameters": {
        "color": 4,
        "width": 980,
        "height": 480,
        "content": "## TikTok 下载器"
      },
      "typeVersion": 1
    },
    {
      "id": "9dd77653-08ff-4441-820f-383ea7652ca4",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        740
      ],
      "parameters": {
        "color": 3,
        "width": 540,
        "height": 200,
        "content": "# 描述"
      },
      "typeVersion": 1
    },
    {
      "id": "6706dbf4-74eb-4d46-835e-36dd5a04e549",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        960
      ],
      "parameters": {
        "color": 5,
        "width": 560,
        "height": 480,
        "content": "**工作原理**"
      },
      "typeVersion": 1
    },
    {
      "id": "5df7af74-b08d-4f85-bba7-3470c5aaf280",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        960
      ],
      "parameters": {
        "color": 3,
        "width": 680,
        "height": 520,
        "content": "**如何设置**"
      },
      "typeVersion": 1
    },
    {
      "id": "457281f9-bced-46c6-8629-fe2aa98eb15e",
      "name": "下载",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -40,
        1260
      ],
      "parameters": {
        "url": "=https://www.mediadl.app/api/proxy-download",
        "options": {},
        "sendQuery": true,
        "sendHeaders": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "fileUrl",
              "value": "={{ $json.medias[1].url }}"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "*/*"
            },
            {
              "name": "Accept-Language",
              "value": "en-US,en;q=0.9,id;q=0.8,da;q=0.7"
            },
            {
              "name": "Connection",
              "value": "keep-alive"
            },
            {
              "name": "Referer",
              "value": "https://mediadl.app/in?gad_source=1&gad_campaignid=22707685611&gbraid=0AAAAA_JALYirerzrfP-1sYYdbTB1Ig5si&gclid=CjwKCAjwwNbEBhBpEiwAFYLtGMgSfRH09djRgW12vplqCk4gfzg34u365DL6mY7MMNPyn5flg8pRjRoCyLIQAvD_BwE"
            },
            {
              "name": "Sec-Fetch-Dest",
              "value": "empty"
            },
            {
              "name": "Sec-Fetch-Mode",
              "value": "cors"
            },
            {
              "name": "Sec-Fetch-Site",
              "value": "same-origin"
            },
            {
              "name": "User-Agent",
              "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36"
            },
            {
              "name": "sec-ch-ua",
              "value": "\"Not;A=Brand\";v=\"99\", \"Google Chrome\";v=\"139\", \"Chromium\";v=\"139\""
            },
            {
              "name": "sec-ch-ua-mobile",
              "value": "?0"
            },
            {
              "name": "sec-ch-ua-platform",
              "value": "\"Windows\""
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "23680f4f-e384-4f0c-8c96-d6c030faf492",
      "name": "发送到 Telegram 视频",
      "type": "n8n-nodes-base.telegram",
      "position": [
        220,
        1260
      ],
      "webhookId": "ee4a87d1-b5b4-4015-a548-ae05ccbcf816",
      "parameters": {
        "chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
        "operation": "sendVideo",
        "binaryData": true,
        "additionalFields": {
          "fileName": "={{ $('URL Download').item.json.author }}.mp4"
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "k6DiziTlVMaosjh6",
          "name": "Hades Ai Text To Image"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "8f484b91-3852-46d6-ab83-30e47b6e2892",
      "name": "仅筛选 URL",
      "type": "n8n-nodes-base.set",
      "position": [
        360,
        1020
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "02df37c0-66a5-45a2-8d64-41ca83cd046d",
              "name": "medias[1].url",
              "type": "string",
              "value": "={{ $json.medias[1].url }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "f39d730e-17cb-44eb-8211-72e7c939ca02",
      "name": "延迟 3秒",
      "type": "n8n-nodes-base.wait",
      "position": [
        140,
        1020
      ],
      "webhookId": "b2f58186-407f-423b-abfb-238845205460",
      "parameters": {
        "amount": 3
      },
      "typeVersion": 1.1
    },
    {
      "id": "c382b49a-7863-4c6f-9ed4-2a06accedc49",
      "name": "延迟 3秒1",
      "type": "n8n-nodes-base.wait",
      "position": [
        -260,
        1260
      ],
      "webhookId": "64a268ce-677e-4aab-8c26-c0bb1d06ebf7",
      "parameters": {
        "amount": 3
      },
      "typeVersion": 1.1
    },
    {
      "id": "d4b1ab87-8f58-45c3-8c5d-e52c4266c3bb",
      "name": "URL 下载",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -60,
        1020
      ],
      "parameters": {
        "url": "https://mediadl.app/api/download",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "url",
              "value": "={{ $json.message.text }}"
            },
            {
              "name": "format",
              "value": "bestvideo+bestaudio/best"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "*/*"
            },
            {
              "name": "Accept-Language",
              "value": "en-US,en;q=0.9,id;q=0.8,da;q=0.7"
            },
            {
              "name": "Connection",
              "value": "keep-alive"
            },
            {
              "name": "Origin",
              "value": "https://mediadl.app"
            },
            {
              "name": "Referer",
              "value": "https://mediadl.app/in?gad_source=1&gad_campaignid=22707685611&gbraid=0AAAAA_JALYirerzrfP-1sYYdbTB1Ig5si&gclid=CjwKCAjwwNbEBhBpEiwAFYLtGMgSfRH09djRgW12vplqCk4gfzg34u365DL6mY7MMNPyn5flg8pRjRoCyLIQAvD_BwE"
            },
            {
              "name": "Sec-Fetch-Dest",
              "value": "empty"
            },
            {
              "name": "Sec-Fetch-Mode",
              "value": "cors"
            },
            {
              "name": "Sec-Fetch-Site",
              "value": "same-origin"
            },
            {
              "name": "User-Agent",
              "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36"
            },
            {
              "name": "sec-ch-ua",
              "value": "\"Not;A=Brand\";v=\"99\", \"Google Chrome\";v=\"139\", \"Chromium\";v=\"139\""
            },
            {
              "name": "sec-ch-ua-mobile",
              "value": "?0"
            },
            {
              "name": "sec-ch-ua-platform",
              "value": "\"Windows\""
            }
          ]
        }
      },
      "notesInFlow": true,
      "typeVersion": 4.2
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "339ffcbd-8d74-4087-af8f-2c0055f8137a",
  "connections": {
    "Delay 3S": {
      "main": [
        [
          {
            "node": "Filtering URL Only",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download": {
      "main": [
        [
          {
            "node": "Sent To Telegram Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Delay 3S1": {
      "main": [
        [
          {
            "node": "Download",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "URL Download": {
      "main": [
        [
          {
            "node": "Delay 3S",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "URL Download",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filtering URL Only": {
      "main": [
        [
          {
            "node": "Delay 3S1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

中级 - 杂项, 多模态 AI

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量11
分类2
节点类型6
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
Garri

Garri

@garri

Security Analyst with expertise in penetration testing, threat detection, and AI-driven automation. Experienced in securing systems, identifying vulnerabilities, and building proactive security solutions. Focused on leveraging technological innovation to create safe and efficient digital environments.

外部链接
在 n8n.io 查看

分享此工作流