From 9ec77865f0617e423bb93c47f42bfaa08eb740fc Mon Sep 17 00:00:00 2001 From: Xmader Date: Sat, 29 Aug 2020 18:05:05 -0400 Subject: [PATCH] v0.7.3 - temporary fix, use saved mscz files in https://github.com/Xmader/musescore-dataset --- dist/main.js | 4 ++-- package.json | 2 +- src/scoreinfo.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/main.js b/dist/main.js index 3f186ea..b6eb397 100644 --- a/dist/main.js +++ b/dist/main.js @@ -3,7 +3,7 @@ // @namespace https://www.xmader.com/ // @homepageURL https://github.com/Xmader/musescore-downloader/ // @supportURL https://github.com/Xmader/musescore-downloader/issues -// @version 0.7.2 +// @version 0.7.3 // @description download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱 // @author Xmader // @match https://musescore.com/*/* @@ -26349,7 +26349,7 @@ Please pipe the document into a Node stream.\ }, get msczUrl() { // https://github.com/Xmader/cloudflare-worker-musescore-mscz - return `https://musescore.now.sh/api/mscz?id=${this.id}&token=`; + return `https://mscz.librescore.org/?id=${this.id}&name=${this.fileName}&token=`; }, get sheetImgType() { try { diff --git a/package.json b/package.json index 5eb3771..e252eea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "musescore-downloader", - "version": "0.7.2", + "version": "0.7.3", "description": "download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱", "main": "dist/main.js", "repository": { diff --git a/src/scoreinfo.ts b/src/scoreinfo.ts index b859fab..50b9822 100644 --- a/src/scoreinfo.ts +++ b/src/scoreinfo.ts @@ -50,7 +50,7 @@ const scoreinfo = { get msczUrl (this: typeof scoreinfo): string { // https://github.com/Xmader/cloudflare-worker-musescore-mscz - return `https://musescore.now.sh/api/mscz?id=${this.id}&token=` + return `https://mscz.librescore.org/?id=${this.id}&name=${this.fileName}&token=` }, get sheetImgType (): 'svg' | 'png' {