tubidy-scrape
v0.0.1
Published
--- ### Introduction > This is just a simple repository, developed for those who want to look for some alternatives for music api.
Downloads
5
Readme
Tubidy Scrape
MPOP Reverse II (Ryann Kim Sesgundo)
Introduction
This is just a simple repository, developed for those who want to look for some alternatives for music api.
Installation
npm install tubidy-scrape@latest
How to
Search .search(query)
const { search } = require("tubidy-scrape")
async function test() {
const data = await search("Something you want to search")
console.log(data)
}
test()
Result
[
{
"link": "Song URL",
"title": "Song title"
},
{ ... }
]
Choose .choosy(url)
const { choosy } = require("tubidy-scrape")
async function test (){
const data = await choosy("url you want to get")
console.log(data)
}
test()
Result
[
{
"link": "link to download",
"text": "File type and sizes"
}, { ... }
]
Download .download(url)
const { download } = require("tubidy-scrape")
async function test(){
const data = await download("url you want to download")
console.log(data)
}
test()
Result
{
"download": "a link to download directly"
}
For full tutorial, kindly check the
test.js
Note
This package is still in development, and there are unexprected errors happend. if you encountered that, kindly email me [email protected] or create an issue on my github repository.