From 4fb273d2d16bce5df009a2174e67b9551cf1a8c4 Mon Sep 17 00:00:00 2001 From: thewesker Date: Mon, 10 Apr 2023 19:44:44 -0400 Subject: [PATCH] Update downloader.py --- downloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/downloader.py b/downloader.py index a9a511b..85a7112 100644 --- a/downloader.py +++ b/downloader.py @@ -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: