๐ฅ A simple API for Smule
$ npm install --save smule-api
For detecting
fileType :
url
:
https://smule.com/recording/titanium-acoustic/664072227_604510719
const smule = require('smule-api');
smule.type(url).then(res => {
console.log(res);
// => audio/mp4
});
For extracing
direct link
to download audio/video :
smule.source(url).then(res => {
console.log(res);
// => https://www.smule.com/redir?....Flmpz
});
Returns a promise for a string of media type avaiable.
Returns a promise for a string of downloadable link for given url
TYPE
: string
Smule
- A complete media downlaoder for Smule
MIT ยฉ Rishi Giri