返回顶部
t

tiktok-downloader

Download TikTok videos by URL or hashtag. Handles 403 errors, cookies, and user-agent rotation. Use for downloading TikTok videos, batch downloading from a list of URLs, or saving TikTok content for offline use.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
93
下载量
0
收藏
概述
安装方式
版本历史

tiktok-downloader

# TikTok Downloader This skill provides a robust workflow for downloading TikTok videos, overcoming common anti-bot measures like 403 Forbidden errors and login requirements. ## Core Workflow ### 1. Single Video Download To download a specific TikTok video, use the provided script: ```bash /home/ubuntu/skills/tiktok-downloader/scripts/download_tiktok.sh <VIDEO_URL> [OUTPUT_DIR] ``` ### 2. Handling 403 Forbidden Errors If `yt-dlp` fails with a 403 error, follow these steps: 1. **Navigate to the URL** using the browser tool to establish a session and cookies. 2. **Run the script again**. It is pre-configured to extract cookies from the browser's data directory (`/home/ubuntu/.browser_data_dir`). ### 3. Batch Downloading For multiple videos: 1. Save all URLs to a text file (e.g., `urls.txt`). 2. Use `yt-dlp` with the following recommended flags: ```bash yt-dlp --no-warnings \ --cookies-from-browser "chromium:/home/ubuntu/.browser_data_dir" \ --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" \ --add-header "Referer:https://www.tiktok.com/" \ -o "%(uploader)s - %(title).80s.%(ext)s" \ --batch-file urls.txt ``` ## Best Practices - **Browser Navigation**: Always visit at least one TikTok video page in the browser before starting a batch download to ensure cookies are fresh. - **Hashtag Pages**: TikTok hashtag pages often require login. If a hashtag page fails to load, ask the user to log in via the browser or search for individual video URLs using the search tool. - **Output Naming**: Use `%(uploader)s - %(title).80s.%(ext)s` to keep filenames organized and avoid filesystem length limits. - **Rate Limiting**: For large batches, add `sleep` between downloads to avoid IP bans.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 tiktok-downloader-1776074342 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 tiktok-downloader-1776074342 技能

通过命令行安装

skillhub install tiktok-downloader-1776074342

下载 Zip 包

⬇ 下载 tiktok-downloader v1.0.0

文件大小: 2.4 KB | 发布时间: 2026-4-14 10:44

v1.0.0 最新 2026-4-14 10:44
- Initial release of TikTok Downloader.
- Download TikTok videos by URL or hashtag, with support for batch downloads.
- Handles common anti-bot measures, including 403 errors via browser cookie extraction and user-agent rotation.
- Provides detailed instructions for single and multiple video downloads.
- Offers best practices for navigating login requirements and avoiding rate limits.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部