tubidy-scrape

0.0.1 • Public • Published

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 weryses19@gmail.com or create an issue on my github repository.

Readme

Keywords

Package Sidebar

Install

npm i tubidy-scrape

Weekly Downloads

2

Version

0.0.1

License

ISC

Unpacked Size

3.87 kB

Total Files

7

Last publish

Collaborators

  • ryannkim327