diff --git a/modules/downloaders/youtube.py b/modules/downloaders/youtube.py index 1b6f235..2746790 100644 --- a/modules/downloaders/youtube.py +++ b/modules/downloaders/youtube.py @@ -11,7 +11,7 @@ "nocheckcertificate": True, "outtmpl": "downloads/%(id)s.%(ext)s", } -ydl = YoutubeDL(update-to) +ydl = YoutubeDL(ydl_opts)) def download(url: str) -> str: