mirror of
https://github.com/wukko/cobalt.git
synced 2025-03-26 19:24:50 +01:00
fixed "error.api.fetch.critical" an error with "youtube" cookies
This commit is contained in:
parent
0f65165671
commit
82ba868357
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue