git clone https://github.com/n0l3r/tiktok-downloader.git
cd tiktok-downloader
npm i
usage: index.js [-h] [-w] [-s] [--amount AMOUNT] (-f TXT | -m MASS | -u URL)
node cookieLoader.js
After this you should go to TikTok login and after youve logged in press enter What this does is it saves your cookies so that when you run the bot on a mass download you dont get the sign-in popup and videos will actually load.
use the -m option with an account namenode .\index.js -m "@username"
node .\index.js -m username
use the -t option with a text file of tiktok video url's
node .\index.js -t list.txt
use the -u option with a tiktok video url
node .\index.js -u https://www.tiktok.com/@username/video/7301135759841447210
node .\index.js -u https://www.tiktok.com/@username/video/7301135759841447210 -w