0.1.11-beta.3 • Published 3 years ago
jxdl-core v0.1.11-beta.3
jxdl-core
Joox downloading module.
For a CLI version of this, check out jxdl.
Usage
const fs = require('fs');
const jxdl = require('jxdl-core');
jxdl('SrVre6FiKpG6g_XwljQDgg==')
.pipe(fs.createWriteStream('The Cranberries - Zombie.mp3'));
API
jxdl(id, uid, usk)
Attempts to download a song from the given id. Returns a readable stream.
id
- can be found in.getInfo
or the following url ex: 'http://www.joox.com/id/en/single/SrVre6FiKpG6g_XwljQDgg==', hereSrVre6FiKpG6g_XwljQDgg==
is theid
uid
- If request is error find the value in your browser when request joox website. Optional.usk
- If request is error find the value in your browser when request joox website. Optional.
jxdl.getInfo(url, options, callback(err, info))
Gets metainfo from a song. This is what the jxdl()
function uses internally.
options
can be
skip
- Used to decide what number of skip song to download.name
- Used to overide the name of the trending chart, playlist, album or artist name.
Install
npm install jxdl-core
0.1.11-beta.3
3 years ago
0.1.11-beta.2
4 years ago
0.1.11-beta.1
4 years ago
0.1.10
4 years ago
0.1.8-beta.2
4 years ago
0.1.9
4 years ago
0.1.8-beta.1
5 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago