Skip to content

casidiablo/youtube-telegram-bot

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

youtube-telegram-bot

A Telegram bot that waits for YouTube URLs and replies back with the video.

Why

https://cristian.io/post/youtube-telegram/

How to run

You need to create your own bot using BotFather. Then:

export TELEGRAM_TOKEN=<PASTE_TELEGRAM_BOT_TOKEN>
export MY_TELEGRAM_USER_ID=<OPTIONAL_YOUR_TELEGRAM_ID>
python3 bot.py

About

Listens for YouTube urls and replies back with a video file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published