fixed "error.api.fetch.critical" an error with "youtube" cookies

This commit is contained in:
Denis Utkin 2025-01-01 23:34:07 +01:00
parent 82ba868357
commit e6fd4acf2a

View file

@ -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);