No Description

Hodza Alban 99bb8bfaa9 Create LICENSE 6 years ago
LICENSE 99bb8bfaa9 Create LICENSE 6 years ago
README.md 961d6bbea1 Update README.md 6 years ago
main.py 1cb446e186 Added the choice of resolution and extension 6 years ago
vid_utils.py c9c4271d2f fixed filename with space problem 6 years ago

README.md

telegram-bot-youtube-downloader

Change TOKEN with your token

Usage:

  • Send link of video (@vid inline is comfortable)
  • The bot will download the video and send it
    • If the video is larger than 50MB, it is split into smaller parts, which then need to be concatenated (in linux: cat vid.mp4* > vid.mp4)

This script require:

Tips:

TODO

  • Improve space-requirement of hard-split (is 2 times size_of_video, the goal is size_of_video + 49MB)
  • Improve soft-split of the videos
  • PEP8
  • Add a queue to manage multiple users
  • Remove duplicates of resolution