diff --git a/bandcamp_downloader.user.js b/bandcamp_downloader.user.js index 54c0efe..5e3e5ef 100644 --- a/bandcamp_downloader.user.js +++ b/bandcamp_downloader.user.js @@ -226,7 +226,7 @@ unsafeWindow.GM_download = GM_download; function urlToPromise(url) { return new Promise((resolve, reject) => { - GM.xmlHttpRequest({ + GM_xmlhttpRequest({ method: "GET", url: url, responseType: "blob", onload: (response) => { console.debug("fetched song", url, response.response); resolve(response.response);