@ipmanlk/rem-track-hunter
v1.2.0
Published
_Library used in [Rem Bot](https://github.com/lk-developers/Rem/) to extract tracks from Youtube, Spotify and Themes.moe URLs._
Downloads
13
Readme
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);
});