A Telegram bot to fetch TikTok videos locally
tikvidbot is a bot allows you to save TikTok videos locally. To get a video, just share it's URL to the chat and it'll send the file.
The bot is written in Node.JS, relies on telegraf to consume Telegram's Bot API, loves got for fetching video pages and streaming videos and jsdom for parsing and interacting with them.
- Clone the repo
git clone this repo
- Install packages
yarn
- Run
yarn dev
Block | Var | Required |
---|---|---|
telegram | token | Yes |
telegram | username | No |
http | agent | Yes |
mysql | host | No |
mysql | database | No |
mysql | user | No |
mysql | password | No |
The code in this repo and used modules are open-sourced software licensed under the MIT license.