Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 1.52 KB

README.md

File metadata and controls

51 lines (41 loc) · 1.52 KB

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