From af1fc9d766b4d6ba13f0a8b80a9d185543dd77e1 Mon Sep 17 00:00:00 2001 From: Dagger Date: Tue, 24 May 2022 22:44:19 -0400 Subject: [PATCH] Update models.py --- models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models.py b/models.py index 27756db..075de45 100644 --- a/models.py +++ b/models.py @@ -19,7 +19,7 @@ def convert_video(link, media_format): yt.streams.filter(stream_filter).order_by('resolution').desc().first().download(filename=rand_filename, output_path="files/ytdl") cdn_url = { - "url": f"https://cdn.oki.cx/files/{rand_filename}", + "url": f"https://cdn.oki.cx/files/ytdl/{rand_filename}", "title": yt.title, "thumbnail": f"{yt.thumbnail_url}", "filename": rand_filename