musescore-downloader

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit e59e2dd3d9f648a26099a308a4ceca95ef0d424c
parent f44be6b3df5ac1eb022947579cff999f0f2bb833
Author: Xmader <xmader@outlook.com>
Date:   Sun,  8 Mar 2020 17:23:00 -0400

update mscz download URL

Diffstat:
Mdist/main.js | 2+-
Msrc/main.ts | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dist/main.js b/dist/main.js @@ -28878,7 +28878,7 @@ Please pipe the document into a Node stream.\ const baseURL = scorePlayer.urls.image_path; // const msczURL = `https://musescore.com/static/musescore/scoredata/score/${getIndexPath(id)}/${id}/score_${vid}_${scoreHexId}.mscz` // https://github.com/Xmader/cloudflare-worker-musescore-mscz - const msczURL = `https://musescore-mscz.99.workers.dev/${id}`; + const msczURL = `https://musescore.now.sh/api/mscz?id=${id}`; const mxlURL = baseURL + "score.mxl"; const { midi: midiURL, mp3: mp3URL } = scorePlayer.urls; const btnsDiv = document.querySelector(".score-right .buttons-wrapper") || document.querySelectorAll("aside section > div")[4]; diff --git a/src/main.ts b/src/main.ts @@ -72,7 +72,7 @@ const main = () => { // const msczURL = `https://musescore.com/static/musescore/scoredata/score/${getIndexPath(id)}/${id}/score_${vid}_${scoreHexId}.mscz` // https://github.com/Xmader/cloudflare-worker-musescore-mscz - const msczURL = `https://musescore-mscz.99.workers.dev/${id}` + const msczURL = `https://musescore.now.sh/api/mscz?id=${id}` const mxlURL = baseURL + "score.mxl" const { midi: midiURL, mp3: mp3URL } = scorePlayer.urls