mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-03-11 17:45:30 +00:00
[CR] Only use second key
If first key is used, occasionally the episode will fail to decrypt?
This commit is contained in:
parent
852558a245
commit
7c363b155d
1 changed files with 4 additions and 2 deletions
|
|
@ -1710,9 +1710,11 @@ export default class Crunchy implements ServiceClass {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
const keys = {} as Record<string, string>;
|
const keys = {} as Record<string, string>;
|
||||||
encryptionKeys.forEach(function(key) {
|
/*encryptionKeys.forEach(function(key) {
|
||||||
keys[key.kid] = key.key;
|
keys[key.kid] = key.key;
|
||||||
});
|
});*/
|
||||||
|
//Only use second key, if first key is used too, occasionally it can fail?
|
||||||
|
keys[encryptionKeys[1].kid] = encryptionKeys[1].key;
|
||||||
|
|
||||||
if (videoDownloaded) {
|
if (videoDownloaded) {
|
||||||
console.info('Started decrypting video');
|
console.info('Started decrypting video');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue