From ddac52f7ae86910a4c82882ca05f9d660bb6f1f4 Mon Sep 17 00:00:00 2001 From: ThatGuySam Date: Sun, 5 May 2024 19:57:15 -0500 Subject: [PATCH] Fix query string key name --- helpers/get-ffmpeg-url.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/get-ffmpeg-url.ts b/helpers/get-ffmpeg-url.ts index dd6d9d3..81e8903 100644 --- a/helpers/get-ffmpeg-url.ts +++ b/helpers/get-ffmpeg-url.ts @@ -113,7 +113,7 @@ export async function getFfmpegUrl ( options: GetFfmpegUrlOptions ) { 'mp4', ].join( '/' ) - const ytdlUrl = new URL( `${ videoApiHost }/api/info?q=${ videoUrl }&f=${ formatOptions }` ) + const ytdlUrl = new URL( `${ videoApiHost }/api/info?query=${ videoUrl }&f=${ formatOptions }` ) // console.log('ytdlUrl', ytdlUrl)