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