rem-track-hunter

@ipmanlk/rem-track-hunter

Globals

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);
});

Docs

View Docs