Greasy Fork is available in English.
Automates downloading a batch of TikTok videos in original quality via tikwm.com
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).
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.
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.
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."
Change Download Folder Name) to change the default #TikTok base folder name (will be created inside your browser's default Downloads directory).sessionid cookie. This automatically authenticates the page, allowing you to batch download private videos from accounts you follow..txt file directly into the queue.https://www.tikwm.com/originalDownloader.html..txt file.sessionid into the input box and click Set.