This program will download a tiktok given the mobile version of the website and will reply to a discord message with the video file.
- export token varible in bash or zsh
- Create a new .env file based off of template.env
- Insert the Discord API token into the .env file
- follows the format
https://vm.tiktok.com/\w*
orhttps://www.tiktok.com/:userid/:videoid
# Linux install for python utility
pip3 install TikTokApi
python3 -m playwright install
# Windows install for windows utility
pip install TikTokApi
python -m playwright install
npm i
node src/discord_client/client.js
docker build . -t tiktok-downloader-discord-bot:latest
docker run -p 80:80 tiktok-downloader-discord-bot
docker-compose up
Note: when using docker-compose it is important to set your discord bot token variable in your shell of choice and export that token.
export token=