v0.7.3 - temporary fix, use saved mscz files in https://github.com/Xmader/musescore-dataset

This commit is contained in:
Xmader 2020-08-29 18:05:05 -04:00
parent aa06cecb80
commit 9ec77865f0
3 changed files with 4 additions and 4 deletions

4
dist/main.js vendored
View file

@ -3,7 +3,7 @@
// @namespace https://www.xmader.com/ // @namespace https://www.xmader.com/
// @homepageURL https://github.com/Xmader/musescore-downloader/ // @homepageURL https://github.com/Xmader/musescore-downloader/
// @supportURL https://github.com/Xmader/musescore-downloader/issues // @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 上的曲谱 // @description download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro免费下载 musescore.com 上的曲谱
// @author Xmader // @author Xmader
// @match https://musescore.com/*/* // @match https://musescore.com/*/*
@ -26349,7 +26349,7 @@ Please pipe the document into a Node stream.\
}, },
get msczUrl() { get msczUrl() {
// https://github.com/Xmader/cloudflare-worker-musescore-mscz // 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() { get sheetImgType() {
try { try {

View file

@ -1,6 +1,6 @@
{ {
"name": "musescore-downloader", "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 上的曲谱", "description": "download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro免费下载 musescore.com 上的曲谱",
"main": "dist/main.js", "main": "dist/main.js",
"repository": { "repository": {

View file

@ -50,7 +50,7 @@ const scoreinfo = {
get msczUrl (this: typeof scoreinfo): string { get msczUrl (this: typeof scoreinfo): string {
// https://github.com/Xmader/cloudflare-worker-musescore-mscz // 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' { get sheetImgType (): 'svg' | 'png' {