usage: run.py [-h] [--links LINKS] [--no-watermark | --watermark] [--workers WORKERS]
options:
-h, --help show this help message and exit
--links LINKS The path to the .txt file that contains the TikTok links. (Default: links.txt)
--no-watermark Download videos without watermarks. (Default)
--watermark Download videos with watermarks.
--workers WORKERS Number of concurrent downloads. (Default: 3)
How To Use
Paste all the TikTok video links you want to download into a .txt file (one link per line), save it and follow the basic usage examples.
In the example below, the links are saved in a links.txt file:
Run the following commands according to how you want your videos to be downloaded
python run.py : Downloads the videos with default options. It assumes that you want to download watermark free videos and the links are in the links.txt file.
python run.py --watermark: Downloads the watermarked version of the videos. It assumes that the links are in the links.txt file.
python run.py --no-watermark: Downloads the watermark free version of the videos. It assumes that the links are in the links.txt file.
python run.py --no-watermark --links links.txt: Downloads the watermark free version of the videos by using the links in links.txt file.
python run.py --watermark --links links.txt --workers 8: Downloads the watermarked version of the videos by using the links in the links.txt file. 8 videos will be downloaded at a time.
Note
A folder will be created for each unique user. This folder will contain the downloaded videos.
Videos that have been previously downloaded will be replaced when the script is run again.
The videos are saved and renamed according to their video IDs.
Any link that had an error will be logged in an errors.txt file.
Download All Tiktok Videos
Download all tiktok videos, with or without a watermark.
Features
Requirements
Installation
Step 1. Clone the repo.
git clone https://github.com/xsrazy/Download-All-Tiktok-VideosStep 2. Enter the directory
cd Download-All-Tiktok-VideosStep 3. Create and activate your virtual environment.
Create:
python -m venv venvorpython3 -m venv venvActivate: Windows
.\venv\Scripts\activate| Linux. venv/bin/activateStep 4. Install requirements
pip install -r requirements.txtorpip3 install -r requirements.txtAvailable Options
How To Use
Paste all the TikTok video links you want to download into a .txt file (one link per line), save it and follow the basic usage examples. In the example below, the links are saved in a links.txt file:
Link Grabber: https://chrome.google.com/webstore/detail/link-grabber/caodelkhipncidmoebgbbeemedohcdma
Basic Usage Examples
Run the following commands according to how you want your videos to be downloaded
python run.py: Downloads the videos with default options. It assumes that you want to download watermark free videos and the links are in the links.txt file.python run.py --watermark: Downloads the watermarked version of the videos. It assumes that the links are in the links.txt file.python run.py --no-watermark: Downloads the watermark free version of the videos. It assumes that the links are in the links.txt file.python run.py --no-watermark --links links.txt: Downloads the watermark free version of the videos by using the links in links.txt file.python run.py --watermark --links links.txt --workers 8: Downloads the watermarked version of the videos by using the links in the links.txt file. 8 videos will be downloaded at a time.Note