1.2.0 • Published 4 years ago
@ipmanlk/rem-track-hunter v1.2.0
rem-track-hunter
Library used in Rem Bot to extract tracks from Youtube, Spotify and Themes.moe URLs.
Installation
npm i @ipmanlk/rem-track-hunter
Usage
const { getTracks } = require("@ipmanlk/rem-track-hunter");
getTracks("https://youtu.be/4t__wczfpRI").then(tracks => {
console.log(tracks);
}).catch(e => {
console.log(e);
});
getTracks("Naruto", {type: "themes.moe"}).then(tracks => {
console.log(tracks);
}).catch(e => {
console.log(e);
});