From f5223f2b20e1c796e8f6194c02c4ae6282438d9e Mon Sep 17 00:00:00 2001 From: Eypz <105191630+sataniceypz@users.noreply.github.com> Date: Wed, 8 Jan 2025 22:17:17 +0530 Subject: [PATCH] Update yt.js --- plugins/yt.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/yt.js b/plugins/yt.js index 49165cf..4ae9c30 100644 --- a/plugins/yt.js +++ b/plugins/yt.js @@ -20,7 +20,7 @@ izumi({ try { const { videos } = await yts(match); const firstVideo = videos[0]; -url = firstVideo.url; +const url = firstVideo.url; const api = `https://api.siputzx.my.id/api/d/ytmp4?url=${url}`; const response = await getJson(api); const data = response.data; @@ -80,7 +80,7 @@ izumi({ try { const { videos } = await yts(match); const firstVideo = videos[0]; -url = firstVideo.url; +const url = firstVideo.url; const api = `https://api.siputzx.my.id/api/d/ytmp4?url=${url}`; const response = await getJson(api); const data = response.data;