Skip to content

Latest commit

 

History

History
110 lines (70 loc) · 2.88 KB

README.md

File metadata and controls

110 lines (70 loc) · 2.88 KB

Terabox Downloader Bot

project-image

A telegram bot for downloading terabox videos fastly

Features:

  • Stop downloading
  • Token system
  • Token Regenration after 1 hour
  • 1 minute anti spam
  • Download videos fastly
  • Fast
  • Easy to update

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
how.to.get.terabox.cookie.mp4

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:

  • /start: Start the bot
  • /gen: Generate api
  • Send a link to start downloading it.

Admins Commands

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

  • /remove:
  • /removeall: Remove all downloaded videos which are saved in local

🍰 Guidelines:

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