remove: www.

This commit is contained in:
ihatespawn 2024-06-10 21:39:26 +02:00
parent ef52bb023b
commit f2b32ccc97
2 changed files with 2 additions and 2 deletions

View File

@ -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";
}

View File

@ -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`