mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-28 09:18:27 +00:00
fixed "error.api.fetch.critical" an error with "youtube" cookies
This commit is contained in:
parent
0f65165671
commit
82ba868357
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue