update Innertube.js

This commit is contained in:
LuanRT
2021-10-01 02:12:52 -03:00
parent 9395d0f332
commit f451dceefa

View File

@@ -116,7 +116,7 @@ class InnerTube {
format.url = format.url || format.signatureCipher || format.cipher;
if (format.signatureCipher || format.cipher) {
format.url = new SigDecipher(format.url, this.context.client.clientVersion, this.player.dec_func, this.player.encodeN).decipher();
format.url = new SigDecipher(format.url, this.context.client.clientVersion, this.player.sig_decipher_sc, this.player.encodeN).decipher();
}
format.has_audio = !!format.audioBitrate || !!format.audioQuality;