This commit is contained in:
aria
2024-07-23 01:49:56 -04:00
parent 62e032fea8
commit 96d0d2889e
3 changed files with 4 additions and 2 deletions

View File

@@ -138,6 +138,8 @@ export default class Soundcloud implements Streamer {
const type = await this.getTypeFromUrl(url)
const client = this.client || (await this.#getClient())
url = url.replace('//m.', '//')
// getting the IDs and track authorization
const html = await (await fetch(url, { method: 'get', headers: headers() })).text()