Añadido bot_youtube.py
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user