From a16b7347c2e470c36eede1e987b1d63f104bd9f9 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Tue, 8 Jun 2021 19:35:56 +0200 Subject: [PATCH] Fixed url generation issue --- deemix/decryption.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/decryption.js b/deemix/decryption.js index 1aa3e26..39ab2e5 100644 --- a/deemix/decryption.js +++ b/deemix/decryption.js @@ -7,7 +7,7 @@ function generateStreamPath(sngID, md5, mediaVersion, format){ let urlPart = md5+"¤"+format+"¤"+sngID+"¤"+mediaVersion let md5val = _md5(urlPart) let step2 = md5val+"¤"+urlPart+"¤" - step2 += ('.' * (16 - (step2.length % 16))) + step2 += '.'.repeat(16 - (step2.length % 16)) urlPart = _ecbCrypt('jo6aey6haid2Teih', step2) return urlPart }