From c46343b46c1b0837da66b5e7ba4ba01dd1b19da0 Mon Sep 17 00:00:00 2001 From: Xmader Date: Wed, 20 Jan 2021 11:32:57 -0500 Subject: [PATCH] v0.23.5 --- dist/main.js | 6 +++--- package-lock.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/main.js b/dist/main.js index 51f0cf3..1b69e9e 100644 --- a/dist/main.js +++ b/dist/main.js @@ -5,7 +5,7 @@ // @supportURL https://github.com/Xmader/musescore-downloader/issues // @updateURL https://msdl.librescore.org/install.user.js // @downloadURL https://msdl.librescore.org/install.user.js -// @version 0.23.4 +// @version 0.23.5 // @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/*/* @@ -26633,7 +26633,7 @@ Please pipe the document into a Node stream.\ // force to retrieve the MAGIC switch (type) { case 'midi': { - const el = document.querySelectorAll('.SD7H- > button')[3]; + const el = document.querySelectorAll('.uPjTb > button')[3]; el.click(); break; } @@ -27340,7 +27340,7 @@ Please pipe the document into a Node stream.\ this.document = document; } get pageCount() { - return this.document.querySelectorAll('.gXB83').length; + return this.document.querySelectorAll('._2uWw4').length; } get thumbnailUrl() { // url to the image of the first page diff --git a/package-lock.json b/package-lock.json index aa47168..350513f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "musescore-downloader", - "version": "0.23.4", + "version": "0.23.5", "lockfileVersion": 1, "requires": true, "dependencies": {