mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-15 11:25:17 +00:00
fixed "error.api.fetch.critical" an error with "youtube" cookies
This commit is contained in:
parent
82ba868357
commit
e6fd4acf2a
|
@ -491,9 +491,6 @@ export default async function (o) {
|
||||||
filenameAttributes.resolution = `${video.width}x${video.height}`;
|
filenameAttributes.resolution = `${video.width}x${video.height}`;
|
||||||
filenameAttributes.extension = codecList[codec].container;
|
filenameAttributes.extension = codecList[codec].container;
|
||||||
|
|
||||||
video = video.url;
|
|
||||||
audio = audio.url;
|
|
||||||
|
|
||||||
if (innertubeClient === "WEB" && innertube) {
|
if (innertubeClient === "WEB" && innertube) {
|
||||||
video = video.decipher(innertube.session.player);
|
video = video.decipher(innertube.session.player);
|
||||||
audio = audio.decipher(innertube.session.player);
|
audio = audio.decipher(innertube.session.player);
|
||||||
|
|
Loading…
Reference in a new issue