mixcloud-audio

0.0.3 • Public • Published

DEPRECATED: no longer being supported

mixcloud-audio

Scrapes Mixcloud url to get audio stream urls

NOTE: this module will most likely break in the future when Mixcloud updates their audio endpoints.

Install

npm install mixcloud-audio

Usage

const {getStreamUrls} = require('mixcloud-audio')
 
const url = 'https://www.mixcloud.com/Bonobo'
 
getStreamUrls(url)
.then(streamUrls => {
  console.log(streamUrls)
 
  /*
  ['https://stream4.mixcloud.com/c/m4a/64/4/a/3/e/6711-093c-44a6-88f4-43c9698512ad.m4a',
    ...
  ]
  */
})
.catch(error => {
  console.error(error)
})

Test

npm test

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i mixcloud-audio

Weekly Downloads

1

Version

0.0.3

License

MIT

Last publish

Collaborators

  • miguelmota