Skip to content

Commit 51f257d

Browse files
committed
v0.24.3
1 parent 5c86de8 commit 51f257d

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

dist/main.js

+13-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @supportURL https://github.com/Xmader/musescore-downloader/issues
66
// @updateURL https://msdl.librescore.org/install.user.js
77
// @downloadURL https://msdl.librescore.org/install.user.js
8-
// @version 0.24.2
8+
// @version 0.24.3
99
// @description download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱
1010
// @author Xmader
1111
// @icon https://librescore.org/img/icons/logo.svg
@@ -26657,7 +26657,18 @@ Please pipe the document into a Node stream.\
2665726657
}
2665826658
}
2665926659
}
26660-
return magic;
26660+
try {
26661+
return yield useTimeout(magic, 5 * 1000 /* 5s */);
26662+
}
26663+
catch (_b) {
26664+
console$1.error(type, 'token timeout');
26665+
switch (type) {
26666+
// try hard-coded tokens
26667+
case 'img': return '8c022bdef45341074ce876ae57a48f64b86cdcf5';
26668+
case 'midi': return '38fb9efaae51b0c83b5bb5791a698b48292129e7';
26669+
case 'mp3': return '63794e5461e4cfa046edfbdddfccc1ac16daffd2';
26670+
}
26671+
}
2666126672
});
2666226673
const getFileUrl = (id, type, index = 0) => __awaiter(void 0, void 0, void 0, function* () {
2666326674
const url = getApiUrl(id, type, index);

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "musescore-downloader",
3-
"version": "0.24.2",
3+
"version": "0.24.3",
44
"description": "download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱",
55
"main": "dist/main.js",
66
"bin": "dist/cli.js",

0 commit comments

Comments
 (0)