fix: crash on unencrypted sources in megacloud extractor

This commit is contained in:
WBRK-dev
2024-05-02 12:54:34 +02:00
parent 5c7dcb325e
commit 8ee9120a10
+1 -1
View File
@@ -78,7 +78,7 @@ class MegaCloud {
// console.log(JSON.stringify(srcsData, null, 2));
const encryptedString = srcsData.sources;
if (srcsData.encrypted && Array.isArray(encryptedString)) {
if (!srcsData.encrypted && Array.isArray(encryptedString)) {
extractedData.intro = srcsData.intro;
extractedData.outro = srcsData.outro;
extractedData.tracks = srcsData.tracks;