Skip to content

Telegram bot that download videos from Youtube and other websites

License

Notifications You must be signed in to change notification settings

Kyryh/telegram-youtube-dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Youtube downloader

telegram-youtube-dl is a telegram bot made in Python that helps you download videos from YouTube, Reddit, Tiktok and many other websites.

It mainly uses the python-telegram-bot and yt-dlp libraries, alongside some other smaller ones.

Usage

This bot isn't available to the public at the moment, so you'll have to host it yourself.

Hosting

  • Install python 3.9+

  • Clone the repository

    git clone https://github.com/Kyryh/telegram-youtube-dl.git
    cd telegram-youtube-dl
  • Optionally:

    • Create a virtual environment

      python -m venv .venv
    • Activate the virtual environment

      Windows:

      .venv\Scripts\activate

      Unix/MacOS:

      source .venv/bin/activate
  • Install the requirements

    python -m pip install -r requirements.txt
  • Install FFMPEG in your system (you can probably figure it out on your own)

  • Create a .env file with the contents of .env.template (simply copy-paste then rename)

  • Fill out the values in the .env file

  • Finally, run the telegram bot

    python __main__.py
  • To update the bot to the latest version, do a simple git pull

Issues and other stuff

Feel free to open an issue if you have any doubts and/or you found something that doesn't work

Also feel free to contribute by opening a pull request, the bot is far from perfect and I would appreciate some help

About

Telegram bot that download videos from Youtube and other websites

Resources

License

Stars

Watchers

Forks

Languages