From 7fde73ca6b3cb0095cad6331aba506bebc4b6845 Mon Sep 17 00:00:00 2001 From: Sneed Group Holder Date: Mon, 28 Oct 2024 12:49:44 -0500 Subject: [PATCH] patch stuff up --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index 50c7291..4dde5d8 100644 --- a/script.js +++ b/script.js @@ -34,7 +34,7 @@ document.getElementById('search-button').addEventListener('click', async () => { const a = document.createElement('a'); a.style.display = 'none'; a.href = url; - a.download = 'video.mp4'; // You might want to set this dynamically + a.download = `${video.title}.webm`; // You might want to set this dynamically document.body.appendChild(a); a.click(); window.URL.revokeObjectURL(url);