Update downloader.py

This commit is contained in:
thewesker
2023-04-10 19:44:44 -04:00
committed by GitHub
parent 1b328f388d
commit 4fb273d2d1

View File

@@ -1,8 +1,8 @@
import ytp_dl
import ytp_dlp
def download(videoUrl):
response = {'fileName': '', 'duration': 0, 'messages': ''}
ydl = ytp_dl.YoutubeDL({'outtmpl': '%(id)s.mp4', 'merge_output_format': 'mp4'})
ydl = yt_dlp.YoutubeDL({'outtmpl': '%(id)s.mp4', 'merge_output_format': 'mp4'})
with ydl: