Greasy Fork

Greasy Fork is available in English.

TikWM TikTok Batch Downloader

Automates downloading a batch of TikTok videos in original quality via tikwm.com

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
thomased
日安装量
0
总安装量
3
评分
0 0 0
版本
1.0.6
创建于
2026-04-05
更新于
2026-04-05
大小
21.5 KB
许可证
MIT
适用于

TikWM TikTok Batch Downloader

This script automates the process of downloading multiple TikTok videos in original, uncompressed HD quality via tikwm.com/originalDownloader.html. It reads a queue of URLs, automatically inputs them, waits for the API to process, triggers the HD video download, and repeats until the queue is finished.

It organizes downloaded files into subfolders based on the TikTok username (e.g., #TikTok/username/123456789.mp4).


Why use this instead of yt-dlp or 4K Tokkit?

Standard downloading tools often hit throttled API endpoints or default to highly compressed legacy streams to save bandwidth. TikWM's "Original Downloader" successfully extracts the direct CDN URLs for the highest-tier, unwatermarked HEVC source files.

A real-world MediaInfo comparison of the exact same 13-second TikTok video (itsnotmirror/7616419857982295298) demonstrates the massive quality difference:

Downloader Resolution Codec Video Bitrate Audio Bitrate File Size
4K Tokkit 576x1024 AVC (H.264) 1,276 kb/s 32.2 kb/s 2 MiB
yt-dlp 1080x1920 HEVC (H.265) 831 kb/s 64.1 kb/s 1 MiB
TikWM (OG) 1080x1920 HEVC (H.265) 6,865 kb/s 125 kb/s 11 MiB

Because a web browser cannot natively embed internal ID3/metadata tags into a .mp4 file the way yt-dlp does, this script offers an optional feature to inject the video's description directly into the filename.


⚠️ CRITICAL REQUIREMENT: Tampermonkey Configuration

To allow the script to save videos automatically into subfolders without popping up a "Save As" dialog for every single video, you MUST change a setting in Tampermonkey.

  1. Open the Tampermonkey Dashboard.
  2. Go to the Settings tab.
  3. Change the Config mode (very first setting) to Advanced.
  4. Scroll down to the Downloads (or Downloads BETA) section.
  5. Change Download Mode from Default to Browser API.
  6. Click the Save button directly below that setting.

Note: The first time the script triggers a download, your browser may ask for permission to allow Tampermonkey to "manage downloads." You must grant this permission. You should also ensure your browser's general settings are set to download automatically to a default folder rather than "Always ask where to save files."


Features

  • Auto-Import: Seamlessly integrates with the TikTok Link Collector script to automatically import gathered URLs via hash routing.
  • Customizable Folder: Use the Tampermonkey script menu (Change Download Folder Name) to change the default #TikTok base folder name (will be created inside your browser's default Downloads directory).
  • Optional Description in Filename: A UI toggle allows you to automatically extract the video description, clean out special characters, and append the first 64 characters to the saved filename.
  • Private Video Support: Includes a dedicated input field in the UI to enter your TikTok sessionid cookie. This automatically authenticates the page, allowing you to batch download private videos from accounts you follow.
  • Smart API Rate-Limit Handling: Automatically detects TikWM's "1 request/second" limit or backend parsing errors. It will pause and retry rate-limited videos without skipping them, and cleanly skip inaccessible private videos.
  • Edge-Hover UI Panel: A draggable, semi-transparent panel that stays out of your way. Hover over the tab on the left edge of the screen to open it.
  • Batch Processing: Paste a list of URLs or import a .txt file directly into the queue.
  • Persistent State: Safely handles page reloads; if you accidentally close the tab, it remembers your queue.

How to Use

  1. Install the script and configure Tampermonkey as instructed above.
  2. Go to https://www.tikwm.com/originalDownloader.html.
  3. Open the UI panel by hovering over the grey tab on the left side of the screen.
  4. Paste your TikTok URLs into the text box (one per line) and click Add, OR click Import to load a .txt file.
  5. (Optional) If downloading private videos, paste your TikTok sessionid into the input box and click Set.
  6. Click Start.
  7. Leave the tab open. The script will handle the rest.