NK
Size: a a a
NK
YL
YL
s
YL
s
YL
YL
s
s
s
YL
NK
NK
G
G
NK
await download_video(message.text, message.chat.id)и всё равно всё блокируется
G
NK
async def download_video(url, username):
try:
ydl = youtube_dl.YoutubeDL({'outtmpl': str(username)})
print('Start downloading')
with ydl:
result = ydl.extract_info(
url,
download=True
)
await send_video(f"./{str(username)}")
except Exception as e:
print("Error ",e)
NK