Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lntechnical2/Live-stream-Group-voice-chat-bot


https://github.com/lntechnical2/Live-stream-Group-voice-chat-bot

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# 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](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/lntechnical2/Live-stream-Group-voice-chat-bot)

### 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
- pytgcalls
- pyrogram