Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.37 KB

README.md

File metadata and controls

42 lines (32 loc) · 1.37 KB

TikTokDL-Bot

Telegram bot on Telethon that downloads videos from TikTok using the rapidapi.com API. There is also an inline mode.

Телеграм-бот на Telethon, который скачивает видео с TikTok, используя API rapidapi.com. Также имеется инлайн-режим.

Installation

  • Clone this git repository.
git clone https://github.com/yummy1gay/TikTokDL-Bot.git
  • Change Directory
cd TikTokDL-Bot
  • Install requirements with pip3
pip3 install -r requirements.txt

Configuration Values

  • BOT_TOKEN - Get it by contacting to BotFather
  • APP_ID - You can get this value from my.telegram.org
  • API_HASH - You can get this value from my.telegram.org
  • X-RapidAPI-Key - You can get this value from rapidapi.com (200 free requests per month)
  • X-RapidAPI-Host - You can get this value rapidapi.com (200 free requests per month)

Run bot

python3 bot.py

Usage

There are two methods to utilize this bot:

Option 1: Sending the bot a link to your video

Simply send the bot a link to your video.

Option 2: Using inline mode

Example: @your_bot_username link to the video