Añadido bot_youtube.py

This commit is contained in:
JailDesigner committed 2024-02-21 09:54:10 +01:00
1 parent 5be581b48f
commit 84003868b9
2 files changed
+2 -1

No files matched your search

+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)