Update models.py
This commit is contained in:
parent
5fb23e835e
commit
af1fc9d766
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user