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

This commit is contained in:
Denis Utkin 2025-01-01 23:31:45 +01:00
parent 0f65165671
commit 82ba868357

View file

@ -497,6 +497,9 @@ export default async function (o) {
if (innertubeClient === "WEB" && innertube) {
video = video.decipher(innertube.session.player);
audio = audio.decipher(innertube.session.player);
} else if (video.url && audio.url) {
video = video.url;
audio = audio.url;
}
}