Skip to content

Commit

Permalink
Update play_video.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiiRepair committed Aug 4, 2023
1 parent 78a2718 commit fd28a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tlg_bot/kreacher/plugins/play_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async def play_video(event):
if match:
await msg.edit("🔄 `Starting YouTube Video Stream ...`")
try:
meta = ydl.extract_info(self=self, url=url, download=False)
meta = ydl().extract_info(url=url, download=False)
formats = meta.get('formats', [meta])
for f in formats:
ytstreamlink = f['url']
Expand Down

0 comments on commit fd28a42

Please sign in to comment.