Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lntechnical2/Live-stream-Group-voice-chat-bot
https://github.com/lntechnical2/Live-stream-Group-voice-chat-bot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lntechnical2/Live-stream-Group-voice-chat-bot
- Owner: lntechnical2
- License: mit
- Created: 2021-06-07T10:25:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-15T11:30:49.000Z (about 3 years ago)
- Last Synced: 2024-07-18T12:14:05.625Z (4 months ago)
- Language: Python
- Size: 99.6 KB
- Stars: 17
- Watchers: 1
- Forks: 20
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Live-stream-Group-voice-chat-bot
Telegram Voice-Chat Bot To Play Music With Pytgcalls## Tutorial
https://youtu.be/rI9U-X1YPTM## Requirements
- Telegram API_ID ,
API_HASH and
SESSION_NAME### Generate Session string
Generate Your Session string 👇## 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```