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));
|
// console.log(JSON.stringify(srcsData, null, 2));
|
||||||
|
|
||||||
const encryptedString = srcsData.sources;
|
const encryptedString = srcsData.sources;
|
||||||
if (srcsData.encrypted && Array.isArray(encryptedString)) {
|
if (!srcsData.encrypted && Array.isArray(encryptedString)) {
|
||||||
extractedData.intro = srcsData.intro;
|
extractedData.intro = srcsData.intro;
|
||||||
extractedData.outro = srcsData.outro;
|
extractedData.outro = srcsData.outro;
|
||||||
extractedData.tracks = srcsData.tracks;
|
extractedData.tracks = srcsData.tracks;
|
||||||
|
|||||||
Reference in New Issue
Block a user