Merge pull request #46 from WBRK-dev/main
fix: crash on unencrypted sources in megacloud extractor
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user