From f2b32ccc97e3e317fd512e28f591df9bd7947f04 Mon Sep 17 00:00:00 2001 From: ihatespawn <168680471+ihatespawn@users.noreply.github.com> Date: Mon, 10 Jun 2024 21:39:26 +0200 Subject: [PATCH] remove: www. --- src/modules/processing/matchActionDecider.js | 2 +- src/modules/processing/services/videoclip.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/processing/matchActionDecider.js b/src/modules/processing/matchActionDecider.js index 37f510f0..fb469386 100644 --- a/src/modules/processing/matchActionDecider.js +++ b/src/modules/processing/matchActionDecider.js @@ -101,7 +101,7 @@ export default function(r, host, userFormat, isAudioOnly, lang, isAudioMuted, di switch (host) { case "videoclip": if (r.urls.endsWith(".m3u8")) { - params = { type: "stream" } + params = { type: "render" } } else { responseType = "redirect"; } diff --git a/src/modules/processing/services/videoclip.js b/src/modules/processing/services/videoclip.js index a25a5f73..b3324008 100644 --- a/src/modules/processing/services/videoclip.js +++ b/src/modules/processing/services/videoclip.js @@ -21,7 +21,7 @@ export default async function({ id }) { if (videoSource) { return { - urls: "https://www." + videoSource, + urls: "https://" + videoSource, isM3U8: videoSource.endsWith(".m3u8"), filename: `videoclip_${modifiedId}.mp4`, audioFilename: `videoclip_${modifiedId}_audio`