mirror of
https://github.com/thewesker/Video-Archive-Discord-Bot.git
synced 2025-12-19 20:01:15 -05:00
Changing YouTube_dl to ytp_dl
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import youtube_dl
|
||||
import ytp_dl
|
||||
|
||||
def download(videoUrl):
|
||||
response = {'fileName': '', 'duration': 0, 'messages': ''}
|
||||
ydl = youtube_dl.YoutubeDL({'outtmpl': '%(id)s.mp4', 'merge_output_format': 'mp4'})
|
||||
ydl = ytp_dl.YoutubeDL({'outtmpl': '%(id)s.mp4', 'merge_output_format': 'mp4'})
|
||||
|
||||
|
||||
with ydl:
|
||||
|
||||
Reference in New Issue
Block a user