Merge pull request #46 from WBRK-dev/main

fix: crash on unencrypted sources in megacloud extractor
This commit is contained in:
Ritesh Ghosh
2024-05-02 19:54:12 +05:30
committed by GitHub
+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;