fix: wrong variable

This commit is contained in:
ihatespawn 2024-05-31 18:00:38 +02:00
parent 13fd0c38f3
commit 1469fbd726

View File

@ -12,7 +12,7 @@ export default async function({ id }) {
// i couldn't find any other way to do this // i couldn't find any other way to do this
var requestLines = requestText.split('\n'); var requestLines = requestText.split('\n');
var contentline = requestLines[reqlines.length - 32]; var contentline = requestLines[requestLines.length - 32];
var videoUrl = contentline.split('"')[3]; var videoUrl = contentline.split('"')[3];
if (videoUrl?.includes('.mp4')) { if (videoUrl?.includes('.mp4')) {