Download videos from Youtube and other platforms through a Telegram Bot

Related tags

ytdl-bot
Overview

ytdl-bot

Download videos from YouTube and other platforms through a Telegram Bot

Usage:

https://t.me/benny_ytdlbot

Send link from YouTube directly to the bot. Any platform supported by youtube-dl will also work.

Feature

  1. fast download and upload. Many thanks to FastTelethon and JasonKhew96's contribution on this!

  2. ads free - I'll never send ads to you, also I don't even print logs that will identify you. So feel free to download any type of video from any website.

  3. support progress bar

How to deploy?

Normal

  1. clone code and update submodule git submodule update --init --recursive
  2. install ffmpeg
  3. install Python 3.6+
  4. pip3 install -r requirements.txt
  5. set environment variables TOKEN, APP_ID and APP_HASH
  6. python3 bot.py
  7. supervisor on your own preference.

docker

see here

Command

start - let's start
about - wanna contribute?
ping - bot running status
help - it's not working?
ytdl - download video in group

Test video

https://www.youtube.com/watch?v=BaW_jenozKc

License

Apache License 2.0

Issues
  • compatibility improvement

    compatibility improvement

    目前默认下下来的是H264+Opus的mkv, iPhone/iPad没法直接播放,如果缺少ffmpeg的话就会选择为720p带音频的mp4, 指定一下选用最佳的mp4(不带音频)和m4a, 就能合成mp4, 解决上述问题。记得在deploy里提醒一下要装ffmpeg.

    enhancement 
    opened by tomyangsh 8
  • Heroku Support

    Heroku Support

    Hi, I checked a lot of bots that are not working for Dailymotion but only yours is working. Can you please make it possible to deploy to Heroku? As I know nothing python so it's not possible for me to add Heroku support. I don't want to abuse the bot hosted by yourself 😅

    enhancement 
    opened by UsamaKarim 5
  • add group usage

    add group usage

    去BotFather那为你的bot加一个ytdl命令,把bot添加到群组,就能通过/ytdl调用。

    enhancement 
    opened by tomyangsh 1
  • Add FastTelethon 🚀

    Add FastTelethon 🚀

    封面我就不做了(send_file 里加 thumb),可能要用到 ffmpeg(据我观察,视频文件大过 10MB 可以用自己的封面) 目前 mkv mp4 都能以 视频 的状态发给用户,能不能播就是客户端的问题了

    这个 FastTelethon 我没怎么试大文件,不知道会不会 rateLimit(上一次用的时候都快一年了)

    DC5 上传最慢的,不过 DC1 上传最快(其他的没试,估计 DC5 最慢) (下载又另外一回事了)

    enhancement 
    opened by JasonKhew96 0
  • fix pornhub

    fix pornhub

    p站的视频格式有一定的欺骗性,默认只能抓到720的,这样改一下就能抓1080了。 测试链接: https://www.pornhub.com/view_video.php?viewkey=ph5fcb8bad75124

    opened by tomyangsh 0
  • Add this please

    Add this please

    Please add quality (resolution) select buttons which appear after sending link Second add heroku deploy button Third if u can please add Google drive upload options

    enhancement 
    opened by addy005 1
Owner
Telegram Bot Collection
Telegram Bot collection developed by @BennyThink
Telegram Bot Collection
Command-line program to download videos from YouTube.com and other video sites

youtube-dl - download videos from youtube.com or other video platforms INSTALLATION DESCRIPTION OPTIONS CONFIGURATION OUTPUT TEMPLATE FORMAT SELECTION

youtube-dl 96.3k Jun 13, 2021
We have made you a wrapper you can't refuse

We have made you a wrapper you can't refuse We have a vibrant community of developers helping each other in our Telegram group. Join us! Stay tuned fo

null 15.2k Jun 7, 2021
A Telegram bot for remotely managing Binance Trade Bot

Binance Trade Bot Manager Telegram A Telegram bot for remotely managing Binance Trade Bot. If you have feature requests please open an issue on this r

Lorenzo Callegari 乐子睿 131 Jun 11, 2021
One of the best Telegram renamer bot with many new features

Renamer-Bot I think this repo gonna become one of the best renamer open source ?? . Please Give a ⭐ if you like this repo and also try following me fo

Ns Bots 26 Jun 9, 2021
Draw your telegram bot in draw.io and generate its code

README Contents: Draw your bot Install requirements Registering a telegram bot Draw bot Start point Message block Single choice block Functions block

DENIS TSITKO 15 May 30, 2021
Stream Telegram files to web

Telegram File Stream Bot A Telegram bot to stream files to web Demo Bot » Report a Bug | Request Feature Table of Contents About this Bot Original Rep

Wrench 25 Jun 7, 2021
this is a telegram torrent bot

owner of this repo :- AYUSH contact me :- AYUSH Slam Mirror Bot This is a telegram bot writen in python for mirroring files on the internet to our bel

AYUSH 25 Jun 5, 2021
Telegram File to Link Fastest Bot , also used for movies streaming

Telegram File Stream Bot ! A Telegram bot to stream files to web. Report a Bug | Request Feature About This Bot This bot will give you stream links fo

Avishkar Patil 23 Jun 11, 2021
Telegram Bot to Filter posts in Bot Inline search

Inline-Filter-Bot A Telegram Bot for filter in Inline Features Unlimited Filters Supports all type of filters Supports Alert Button Using Common Marku

Code X Botz 19 Jun 14, 2021
An advanced Filter Bot with nearly unlimitted filters!

Unlimited Filter Bot ㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤ An advanced Filter Bot with nearly unlimitted filters! Features Nearly unlimited filters Supports all type of fil

TroJanzHEX 52 Jun 8, 2021
Receive GitHub webhook events and send to Telegram chats with AIOHTTP through Telegram Bot API

GitHub Webhook to Telegram Receive GitHub webhook events and send to Telegram chats with AIOHTTP through Telegram Bot API What this project do is very

Dash Eclipse 14 May 22, 2021
Telegram Bot to store Posts and Documents and it can Access by Special Links.

File-sharing-Bot Telegram Bot to store Posts and Documents and it can Access by Special Links. I Guess This Will Be Usefull For Many People..... ?? .

Code X Botz 57 Jun 13, 2021
Automatically detect changes made to the official Telegram sites.

?? Telegram Web Crawler This project is developed to automatically detect changes made to the official Telegram sites. This is necessary for anticipat

Il'ya 20 Jun 3, 2021
Bot simply search for the files from provided channel according to given query and gives link to those files as buttons!

Auto Filter Bot ㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤ You can call this as an Auto Filter Bot if you like :D Bot simply search for the files from provided channel according

TroJanzHEX 36 Jun 15, 2021