Añadido bot_youtube.py

This commit is contained in:
2024-02-21 09:54:10 +01:00
parent 5be581b48f
commit 84003868b9
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -43,6 +43,7 @@ def read_msg(offset):
yt = YouTube(link)
title = re.sub(r"[^a-zA-Z0-9 ]", "", yt.title)
username = i["message"]["from"]["username"] + '/'
username = '/home/sergio/downloads/'
try:
os.mkdir(username)