From 070fd6a7685fd2b4f1a76fd5342c1a0a7fd093cc Mon Sep 17 00:00:00 2001 From: deflax Date: Fri, 19 Jan 2024 01:35:22 +0200 Subject: [PATCH] fix video_download_url --- src/discordbot/discordbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discordbot/discordbot.py b/src/discordbot/discordbot.py index a43d9ae..d7f93be 100644 --- a/src/discordbot/discordbot.py +++ b/src/discordbot/discordbot.py @@ -148,7 +148,7 @@ async def query_database(): # Creating an embed img_url = f'https://{scheduler_hostname}/img' thumb_url = f'https://{scheduler_hostname}/thumb/{thumb_filename}' - video_download_url = f'https://{scheduler_hostname}/video/{video_filename}' + video_download_url = f'https://{scheduler_hostname}/video/download/{video_filename}' video_filename_no_extension = video_filename.split('.')[0] video_watch_url = f'https://{scheduler_hostname}/video/watch/{video_filename_no_extension}' embed = discord.Embed(title=f'{rec_stream_name}',