r0ld3x / terabox-downloader-bot

A telegram bot written in Python for downloading files from Terabox using the Terabox API
65 stars 134 forks source link
python terabo terabox terabox-bot terabox-downloader terabox-downloader-bot

Terabox Downloader Bot

project-image

A telegram bot for downloading terabox videos fastly

Features:

Table of Contents

  1. Getting Started
  2. Installation Steps
  3. Commands
  4. Admins Commands
  5. 🍰 Guidelines

Getting Started

To get started with the bot, you'll need to install the required dependencies and configure the bot with your own API credentials.

Dependencies

🛠️ Installation Steps:

1. Download latest version of python

2. Download this repo

3. Unzip and open terminal in that folder

4. Download requirement's

pip install -r requirements.txt

5. Open config.py and fill it

API_ID = 123456  # api id
API_HASH = "ABC-DEF1234ghIkl-zyx57W2v1u123ew11"  # api hash

BOT_TOKEN = "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11"  # bot token

## REDIS
HOST = "localhost"  # redis host uri
PORT = 6379  # redis port
PASSWORD = ""  # redis password

PRIVATE_CHAT_ID = -1001234567890  # CHAT WHERE YOU WANT TO STORE VIDEOS
COOKIE = ""  # COOKIE FOR AUTHENTICATION (get from chrome dev tools) ex: "PANWEB=1; csrfToken=;
ADMINS = [1317173146]

BOT_USERNAME = "teraboxdown_bot"

# Force user to join this channel. (make sure you have promoted the bot on this chat.)
FORCE_LINK = "@RoldexVerse"

PUBLIC_EARN_API = ""  # https://publicearn.com/api

Get terabox cookie:

  1. Login in terabox with premium account
  2. Open any terabox link and watch the video below

https://github.com/r0ld3x/terabox-downloader-bot/assets/77254818/1b68e6ae-715f-4778-845e-4b696762ea93

6. start the bot

python main.py
python bot.py

Commands

The bot's commands are defined in bot.py and main.py. The available commands are:

Admins Commands

The admin bot's commands are defined in bot.py. The available commands are:

🍰 Guidelines:

Use at own risk. I am not responsible for break of any Terms and conditions of any companies and businesses.