From c5b94e8e70037b0d3f984170926c33841e6bc576 Mon Sep 17 00:00:00 2001 From: thewesker Date: Mon, 10 Apr 2023 19:26:57 -0400 Subject: [PATCH] Changing YouTube_dl to ytp_dl --- downloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/downloader.py b/downloader.py index 4d69d6b..a9a511b 100644 --- a/downloader.py +++ b/downloader.py @@ -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: