From e6fd4acf2a694093ef7324e5f2e5abd187478021 Mon Sep 17 00:00:00 2001 From: Denis Utkin Date: Wed, 1 Jan 2025 23:34:07 +0100 Subject: [PATCH] fixed "error.api.fetch.critical" an error with "youtube" cookies --- api/src/processing/services/youtube.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/api/src/processing/services/youtube.js b/api/src/processing/services/youtube.js index b23f16a8..f99280e3 100644 --- a/api/src/processing/services/youtube.js +++ b/api/src/processing/services/youtube.js @@ -491,9 +491,6 @@ export default async function (o) { filenameAttributes.resolution = `${video.width}x${video.height}`; filenameAttributes.extension = codecList[codec].container; - video = video.url; - audio = audio.url; - if (innertubeClient === "WEB" && innertube) { video = video.decipher(innertube.session.player); audio = audio.decipher(innertube.session.player);