Skip to content

br0kenpixel/tgdlbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Video Downloader Bot

A Telegram bot for downloading videos from various different sites like YouTube, Reddit and others. It uses yt-dlp as a backend.

Note

⚠️ This is beta software. Some features might not work properly.

Setup

  1. Create a Telegram bot using @BotFather.
  2. Rename .cargo/config.toml.example to config.toml.
  3. In this file, you need to fill in your bot token and the ID of your Telegram account, so the bot can allow you to use certain admin-only commands and bypass some restrictions. Example:
    [env]
    BOT_TOKEN = "1234567890:ABCDEFGHIJKLMNOPQRSTUVXYZ"
    OWNER_ID = "0123456789"
    STORAGE_FILE = "~/tgdlstorage"
  4. (Optional) Change the location of the storage file (STORAGE_FILE) if needed.
  5. Build and run the bot.

Usage

Just send a link to the bot and it will begin downloading. Commands can only be used by the owner of the bot.

About

Video downloader bot for Telegram.

Topics

Resources

License

Stars

Watchers

Forks

Languages