No Description

thezero fd981f45e9 better format detection 3 years ago
src fd981f45e9 better format detection 3 years ago
.gitignore 586668c7e0 first version 3 years ago
Dockerfile fd981f45e9 better format detection 3 years ago
LICENSE 99bb8bfaa9 Create LICENSE 7 years ago
README.md 03effcb540 update TODO 7 years ago
docker-compose.yml ce01266238 ytdl cache 3 years ago
requirements.txt 915fb87df1 docker 3 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
  • Remove duplicates of resolution
  • Add geo-bypass feature
  • Add playlist download feature
    • match title with regex
    • from video x to video y
    • only video uploaded before or after date x
    • max-views or min-views
  • Subtitle download