Closed gertjanal closed 2 years ago
There are so many HTTP options, I cannot consider support those. There are plenty of smart HTTP clients which you use do the authentication. Pick one which suits your needs and pass the stream or buffer to music-metadata-browser.
The function
export async function fetchFromUrl(audioTrackUrl: string, options?: IOptions): Promise<IAudioMetadata> {
Does a
fetch
without including the credentials orcors
mode. When enabled, I can use it to fetch data from an url that needs a web session (login) to download the data.I think it should be as simple as