Live-stream-Group-voice-chat-bot icon indicating copy to clipboard operation
Live-stream-Group-voice-chat-bot copied to clipboard

Live-stream-Group-voice-chat-bot

Telegram Voice-Chat Bot To Play Music With Pytgcalls

tgcalls

Tutorial

https://youtu.be/rI9U-X1YPTM

Requirements

  • Telegram API_ID , API_HASH and SESSION_NAME

Generate Session string

Generate Your Session string 👇

CLICK HERE

HEROKU

Deploy

Get YouTube live stream link

install youtube_dl

pip install youtube_dl

import youtube_dl
ydl_opts = {}
url = input("enter your url:- ")
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
	meta = ydl.extract_info(url, download=False)
	formats = meta.get('formats', [meta])
	for f in formats:
		print(f['url'])

If you have a https:// address change it to http:// otherwise you get an "HTTP error 403 forbidden

Credits