xsrazy/TikTok-Batch-Downloader
حول
A simple Node.js CLI tool to download multiple TikTok videos without watermarks, complete with metadata export and automatic error handling.
أدوات التطويرما يمكنك فعله
- Downloads TikTok videos without a watermark, in HD when available
- Batch processing from a simple links.txt file, one link per line
- Metadata export to JSON for every downloaded video
- Automatic error logging, so one failed link never stops the whole batch
النمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- جارٍ جمع السجل
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلTikTok Batch Downloader
A simple Node.js CLI tool to download multiple TikTok videos without a watermark, complete with metadata export and automatic error handling.
Prefer the web version? Use TikBulk, the same bulk downloader in your browser, no install needed.
Indonesian version: README.id.md

About
TikTok Batch Downloader reads a list of TikTok video links from a plain text file and downloads every video in one run. Each download lands in its own folder together with a metadata file, so the result stays organized and easy to archive, back up, or analyze later.
Features
- Downloads TikTok videos without a watermark, in HD when available
- Batch processing from a simple
links.txtfile, one link per line - Metadata export to JSON for every downloaded video
- Automatic error logging, so one failed link never stops the whole batch
- Clean output structure, one folder per video
How it works
- The tool reads every link from
links.txt - For each link, video data is fetched from the tikwm.com API
- The video file is downloaded into its own folder under
downloads/ - A
metadata.jsonfile is written next to each video - Any error is logged and the batch continues with the next link
Setup
- Clone the repository:
git clone https://github.com/xsrazy/TikTok-Batch-Downloader
cd TikTok-Batch-Downloader
- Install the dependencies:
npm install
- Add your video links to
links.txt, one per line:
https://www.tiktok.com/@user/video/1234567890123456789
https://www.tiktok.com/@anotheruser/video/9876543210987654321
- Run the tool:
node main.js
Requires Node.js 12 or newer.
Output
downloads/
├── video_1/
│ ├── video.mp4
│ └── metadata.json
├── video_2/
│ ├── video.mp4
│ └── metadata.json
...
Contents of metadata.json
| Field | Description |
|---|---|
id |
Unique ID of the TikTok video |
description |
Caption or text content of the video |
createTime |
Upload date of the video |
author.username |
Author username, for example @xsrazy |
author.nickname |
Author display name |
stats.plays |
Number of views |
stats.likes |
Number of likes |
stats.comments |
Number of comments |
stats.shares |
Number of shares |
video.duration |
Video length in seconds |
video.width / video.height |
Video resolution |
video.hdUrl |
Direct HD video URL used for the download |
music.title |
Title of the audio used in the video |
music.author |
Author of the audio |
hashtags |
List of hashtags in the video |
Collecting links
No coding needed: the Link Grabber Chrome extension can copy every video link from a TikTok page (profile, hashtag, or FYP). Paste the copied links into links.txt and run the tool.
Notes
- Links must be valid and the videos public, not private
- Avoid downloading thousands of videos in a single batch; keep batch sizes reasonable
- Intended for archiving, educational purposes, and personal backups
Credits
Created by @xsrazy.
License
MIT. See LICENSE.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…
