@exezt-/webamp 1.5.0-0x740 → 1.5.0-0x8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/built/webamp.bundle.js
CHANGED
|
@@ -7353,7 +7353,7 @@ class WinampTelegramCustomHandler {
|
|
|
7353
7353
|
});
|
|
7354
7354
|
|
|
7355
7355
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "getTrackListFromYandexDisk", async playlistLink => {
|
|
7356
|
-
fetch(`https://cloud-api.yandex.net/v1/disk/public/resources?public_key=${encodeURIComponent(playlistLink)}`, {
|
|
7356
|
+
fetch(`https://cloud-api.yandex.net/v1/disk/public/resources?public_key=${encodeURIComponent(playlistLink)}&limit=500`, {
|
|
7357
7357
|
method: "GET",
|
|
7358
7358
|
headers: {
|
|
7359
7359
|
Accept: "application/json",
|
|
@@ -7398,7 +7398,7 @@ class WinampTelegramCustomHandler {
|
|
|
7398
7398
|
method: "GET"
|
|
7399
7399
|
}).then(response => response).then(resp => fetch(resp.url)).then(async response => {
|
|
7400
7400
|
if (response.status === 302) {
|
|
7401
|
-
return await fetch(`${response.headers.get("Location")}&public_key=${public_key}`);
|
|
7401
|
+
return await fetch(`${response.headers.get("Location")}&public_key=${public_key}&limit=500`);
|
|
7402
7402
|
} else {
|
|
7403
7403
|
return response;
|
|
7404
7404
|
}
|